Skip to content

Commit 54ba975

Browse files
committed
[css-scroll-snap] Add issue about switching 1d vs 2d on the scroll-snap-type property instead.
1 parent d915e4d commit 54ba975

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

css-scroll-snap/Overview.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,10 @@ Scroll Snapping Alignment: the 'scroll-snap-align' property {#scroll-snap-alignm
531531
the position applies to both axises.
532532
</dl>
533533

534+
Issue: Or should 1d vs 2d be switched via 'scroll-snap-type'?
535+
Then there's no grammar ambiguity.
536+
Is there any use-case for doing both 1d and 2d in a single scroll container?
537+
534538
Since the purpose of scroll snapping is to align content within the viewport
535539
for optimal viewing:
536540
in all cases, the specified alignment creates a valid <a>snap position</a>

0 commit comments

Comments
 (0)