W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2018

Re: [csswg-drafts] [css-scroll-anchoring-1] Questions about anchor node selection

From: Ryan Hunt via GitHub <sysbot+gh@w3.org>
Date: Tue, 20 Nov 2018 13:05:51 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-440266494-1542719150-sysbot+gh@w3.org>
Thanks for the reply, that helps a lot!

The only comment I have is that the current implementation in Gecko doesn't select an anchor inside of another scroller. If this behavior is required for some reason it'd be good to know the reason, but otherwise it doesn't make sense the way it's implemented.

As for the rest of the clarifications, I think we should add the bit about 'position: sticky' and the parts about when scroll anchors are recalculated to the specification. I don't want to mandate optimizations in the spec, but the parts about not selecting an anchor at the origin, and invalidating after adjustment suppression seem to be about correctness.

I can open a PR with these details if there's not a problem.

GitHub Notification of comment by eqrion
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3319#issuecomment-440266494 using your GitHub account
Received on Tuesday, 20 November 2018 13:05:58 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:55 UTC