[csswg-drafts] [css-scroll-anchoring] [css-scroll-anchoring] What's the optimal viewing rect on the root scroller? (#4393)

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

== [css-scroll-anchoring] [css-scroll-anchoring] What's the optimal viewing rect on the root scroller? ==
https://drafts.csswg.org/css-scroll-snap-1/#optimal-viewing-region

Firefox uses the visual viewport. Blink (if my read of their code is correct) uses the layout viewport (I think?).

The spec is unclear. It says "the scrollport".

See https://bugzilla.mozilla.org/show_bug.cgi?id=1585317#c4 for context.

If it should use the visual viewport, then scroll-padding should in theory resolve against that, rather than the layout viewport... right?

cc: @tabatkins @fantasai @bokand @skobes 

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

Received on Wednesday, 2 October 2019 17:20:57 UTC