Bug 295009
| Summary: | [css-anchor-position-1] Fallback options are not "sticky" | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | fantasai <fantasai.bugs> |
| Component: | Layout and Rendering | Assignee: | Kiet Ho <kiet.ho> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, fantasai.bugs, kiet.ho, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://github.com/web-platform-tests/wpt/pull/54345 | ||
| Bug Depends on: | |||
| Bug Blocks: | 289743, 291856 | ||
fantasai
Overview:
By default, the position-try fallbacks are "sticky", i.e. an option is used until it's invalidated either because
a) it no longer fits
b) there's a style recalculation that triggers re-evaluation of position-try options
This behavior is intended to provide some visual stability for the user.
Affected WPT Tests:
* http://wpt.live/css/css-anchor-position/last-successful-basic.html
* http://wpt.live/css/css-anchor-position/last-successful-change-fallbacks.html
* http://wpt.live/css/css-anchor-position/last-successful-change-try-rule.html
* http://wpt.live/css/css-anchor-position/last-successful-iframe.html
* http://wpt.live/css/css-anchor-position/last-successful-intermediate-ignored.html
Specification Notes:
See https://www.w3.org/TR/css-anchor-position/#fallback
It's possible that we might find places where the spec should be adjusted, since we are the second implementation and what makes sense to do here might not be entirely obvious. In these cases we should implement what makes sense to us and bring the issue to the CSSWG for discussion.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/154352444>
Kiet Ho
Pull request: https://github.com/WebKit/WebKit/pull/49037
EWS
Committed 298718@main (87540245e449): <https://commits.webkit.org/298718@main>
Reviewed commits have been landed. Closing PR #49037 and removing active labels.
Kiet Ho
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/54345
Kiet Ho
<rdar://problem/158452223>