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 Rendering | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Johannes Odland
Pull request: https://github.com/WebKit/WebKit/pull/55566
Radar WebKit Bug Importer
<rdar://problem/167141056>
EWS
merge-queue failed to commit PR to repository. To retry, remove any blocking labels and re-apply merge-queue label
EWS
Committed 306153@main (43194467825e): <https://commits.webkit.org/306153@main>
Reviewed commits have been landed. Closing PR #55566 and removing active labels.