Bug 295013
| Summary: | [css-anchor-position-1] revert-layer in @position-try should revert only the position-try origin | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | fantasai <fantasai.bugs> |
| Component: | Layout and Rendering | Assignee: | Antti Koivisto <koivisto> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, kiet.ho, koivisto, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 289743, 291856 | ||
fantasai
Overview:
The revert-layer keyword in @position-try is supposed to revert only the position-try origin, but it currently also rolls back the top normal author cascade layer.
Affected WPT Tests:
* http://wpt.live/css/css-anchor-position/position-try-cascade.html
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
fantasai
Specification Links:
* https://www.w3.org/TR/css-cascade-5/#revert-layer
* https://www.w3.org/TR/css-anchor-position-1/#position-fallback-origin
Radar WebKit Bug Importer
<rdar://problem/154355428>
Antti Koivisto
Pull request: https://github.com/WebKit/WebKit/pull/50649
EWS
Committed 299900@main (66dae2714ee4): <https://commits.webkit.org/299900@main>
Reviewed commits have been landed. Closing PR #50649 and removing active labels.