[csswg-drafts] [css-scroll-snap-2] scroll-start-target: auto doesn't match general meaning of auto (#11173)

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

== [css-scroll-snap-2] scroll-start-target: auto doesn't match general meaning of auto ==
The `scroll-start-target` [spec](https://drafts.csswg.org/css-scroll-snap-2/#scroll-start-target) specifies 2 keywords for the `scroll-start-target` property:
* `none`, meaning: this element is not to be used to  determine the initial scroll position  of its nearest scroll container, and
* `auto`, meaning: this element should be used to determine the initial scroll position of its nearest scroll container.  

The use of `auto` in this way is a bit of a departure from what `auto` means in CSS, i.e. "the UA should do what it thinks is best."

Should we change `auto` to a different keyword? I've thought of a few we could consider: `on-first-appearance` or `align` or `active` or `visible`. My preference would be `align`.



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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 8 November 2024 18:28:49 UTC