Bug 227743 - [css-scroll-snap] scroll-snap-align should use the box's writing-mode when the box is larger than the snapport
Summary: [css-scroll-snap] scroll-snap-align should use the box's writing-mode when th...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Martin Robinson
URL:
Keywords: InRadar
Depends on:
Blocks: 218115
  Show dependency treegraph
 
Reported: 2021-07-07 06:20 PDT by Martin Robinson
Modified: 2021-07-08 00:24 PDT (History)
8 users (show)

See Also:


Attachments
Patch (9.33 KB, patch)
2021-07-07 07:01 PDT, Martin Robinson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>