Bug 304338

Summary: Writing mode of containing block should be used when adjusting overconstrained sticky element
Product: WebKit Reporter: Johannes Odland <johannes.odland>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Minor CC: bfulgham, fantasai.bugs, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari 26   
Hardware: Unspecified   
OS: Unspecified   

Johannes Odland
Reported 2025-12-17 09:40:29 PST
WebKit now handles overconstrained sticky elements. However, when deciding which edge to adjust, it is currently using the writing mode of the sticky element whereas it should use the writing mode of the containing block. https://www.w3.org/TR/css-position-3/#stickypos-insets > If this results in a sticky view rectangle size in any axis less than the size of the border box of the sticky box in that axis, then the effective end-edge inset in the affected axis is reduced (possibly becoming negative) to bring the sticky view rectangle’s size up to the size of the border box in that axis (where end is interpreted relative to the writing mode of the containing block).
Attachments
Johannes Odland
Comment 1 2025-12-17 09:51:00 PST
Radar WebKit Bug Importer
Comment 2 2025-12-24 09:41:12 PST
EWS
Comment 3 2026-01-24 12:36:38 PST
merge-queue failed to commit PR to repository. To retry, remove any blocking labels and re-apply merge-queue label
EWS
Comment 4 2026-01-24 21:24:05 PST
Committed 306153@main (43194467825e): <https://commits.webkit.org/306153@main> Reviewed commits have been landed. Closing PR #55566 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.