Bug 281728
| Summary: | [css-anchor-position-1] Fix intrinsic layout of anchor-positioned element after visibility change | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Pawel Lampe <plampe> |
| Component: | CSS | Assignee: | Pawel Lampe <plampe> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | kiet.ho, koivisto, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Pawel Lampe
This is reproduced by layout test:
imported/w3c/web-platform-tests/css/css-anchor-position/position-anchor-target-with-children.html [ ImageOnlyFailure ]
The problem is - when element becomes visible again, render subtree of its intrisic elements is not being re-created i.e. its children have no renderers and thus are invisible.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Pawel Lampe
Pull request: https://github.com/WebKit/WebKit/pull/35418
EWS
Committed 285486@main (8a011645e7ae): <https://commits.webkit.org/285486@main>
Reviewed commits have been landed. Closing PR #35418 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/138281616>