-
Notifications
You must be signed in to change notification settings - Fork 756
Description
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)?