Bug 277969
Summary: | [css-anchor-position-1] Add restrictions on valid anchor and anchor-positioned elements | ||
---|---|---|---|
Product: | WebKit | Reporter: | David Choi <david_choi5> |
Component: | CSS | Assignee: | David Choi <david_choi5> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | koivisto, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
David Choi
We should be more explicit on disallowing certain elements from being anchor elements or anchor-positioned elements.
For example, we should ensure that valid anchor elements generate a principal box.
We should also ensure that anchor-positioned elements are out-of-flow.
Currently, we do not support pseudo-elements being anchor-positioned, so we should also prevent state entries being created for anchor-positioned pseudo-elements.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/133705664>
David Choi
Pull request: https://github.com/WebKit/WebKit/pull/32052
EWS
Committed 282166@main (9cf82786bf79): <https://commits.webkit.org/282166@main>
Reviewed commits have been landed. Closing PR #32052 and removing active labels.