[csswg-drafts] [css-overscroll-behavior] Interaction between overscroll-behavior and zooming

theres-waldo has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-overscroll-behavior] Interaction between overscroll-behavior and zooming ==
The [overscroll-behavior spec](https://drafts.csswg.org/css-overscroll-behavior/) does not explicilty mention how overscroll-behavior interacts with zooming.

Consider [this test page](https://bug1503552.bmoattachments.org/attachment.cgi?id=9021519), which has a scrollable div with `overscroll-behavior: contain`. If you load this page on mobile and zoom in, the behaviour in Firefox is that you cannot scroll to bring all areas of the div into view. Specifically, you can scroll the div itself, i.e. bring new areas into its scrollport, but insofar as zooming made parts of the div's scrollport itself be offscreen, those areas cannot be brought onscreen (because that would constitute scrolling of the enclosing scroll container, which is forbidden by the `overscroll-behavior: contain`).

It's not clear whether or not this is the intended behaviour. Either way, the spec should be clarified to describe what the intended behaviour is here.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3267 using your GitHub account

Received on Wednesday, 31 October 2018 15:58:43 UTC