W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2019

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

From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
Date: Wed, 02 Oct 2019 17:20:56 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-501621286-1570036855-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:54 UTC