-
Notifications
You must be signed in to change notification settings - Fork 668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-scroll-snap-2] Clarifying scroll-start shorthand values #8766
Comments
I don't be believe the content of this draft has been vetted by the CSSWG at all... most of the features in it don't seem to be linked to CSSWG discussions. I've marked it as an Unofficial Draft for now; we'll need to follow up on this later. |
@fantasai Each of the features have been discussed in the working group as well as the proposed resolution to start an ED: |
@DavMila to answer the original question, "left and "right" don't make sense in |
Thanks for clarifying Rob; that makes sense. I think we can close this issue. |
The scroll-snap-2 spec includes scroll-start: https://drafts.csswg.org/css-scroll-snap-2/#scroll-start
The spec currently includes “top”, “bottom”, “left” and “right” as valid values for the scroll-start shorthand but only includes “start”, “center”, “end” and “auto” for the scroll-start-{x, y, block, inline} longhands. Are they simply missing or should the shorthand not have these values?
Assuming they are valid values for the shorthand:
I’m not yet sure what “scroll-start: right”, for example, should mean.
Should it mean “Equivalent to scroll-start-x: 100%” in vertical writing modes but have no effect in horizontal writing modes since the first scroll-start value ought to apply to the block axis (vertical in horizontal writing mode) according to the spec?
If this makes sense, shall I create a relevant pull request editing the spec (https://github.com/w3c/csswg-drafts/blob/main/css-scroll-snap-2/Overview.bs)?
The text was updated successfully, but these errors were encountered: