Open DavMila opened 2 days ago
A couple questions here:
scroll-start-target: auto
a developer-friendly way to say "please scroll to me"? I'd expect auto
to mean "do what the UA thinks is right", which is not the behavior it's currently specified to have. I could imagine on-first-appearance
being a clearer way to describe what it's asking for. This sort of naming question is firmly within the CSSWG's area of expertise, so there's probably a long discussion thread about it, and I would just benefit from a link to it.scroll-start-target
elements, it seems like the current definition might cause multiple scrolls, if the UA decides to partially render after getting the initial target. Developers might not see this if they test only on a fast connection, but users on slower devices could wind up with a bad experience. Does something in the definition subtly prevent this? Has the WG discussed how to prevent it?Thanks!
こんにちは TAG-さん!
I'm requesting a TAG review of scroll-start-target
This is a proposal to introduce a CSS property which authors can use to control which element(s) a scroll container will be initially scrolled to, i.e. when it first appears on a page. It is intended to provide a reliable way for developers to give their scroll containers a non-(0,0) default starting scroll position without using JavaScript or other tricks involving animations and scroll-snapping.
Further details: