Bug 227743

Summary: [css-scroll-snap] scroll-snap-align should use the box's writing-mode when the box is larger than the snapport
Product: WebKit Reporter: Martin Robinson <mrobinson>
Component: ScrollingAssignee: Martin Robinson <mrobinson>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarcelo, ews-watchlist, fred.wang, jamesr, luiz, simon.fraser, tonikitoo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 218115    
Attachments:
Description Flags
Patch none

Description Martin Robinson 2021-07-07 06:20:10 PDT
https://drafts.csswg.org/css-scroll-snap-1/#scroll-snap-align says:

> Start and end alignments are resolved with respect to the writing mode
> of the snap container unless the scroll snap area is larger than the
> snapport, in which case they are resolved with respect to the writing
> mode of the box itself. 

The code should be updated to implement this part of the specification.
Comment 1 Martin Robinson 2021-07-07 07:01:28 PDT
Created attachment 433025 [details]
Patch
Comment 2 EWS 2021-07-08 00:23:38 PDT
Committed r279714 (239506@main): <https://commits.webkit.org/239506@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 433025 [details].
Comment 3 Radar WebKit Bug Importer 2021-07-08 00:24:37 PDT
<rdar://problem/80309664>