Bug 248790
| Summary: | [content-visibility] it should trigger a layout if the value of content-visibility is changed from hidden to others | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | cathiechen <cathiechen> |
| Component: | CSS | Assignee: | cathiechen <cathiechen> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 236238 | ||
cathiechen
Per[1], content-visibility: hidden turns on contain:size.
Contain:size would change the layout size of an element.
So when an element's content-visibility value changes from hidden to other, it should trigger a layout, vice versa.
[1] https://w3c.github.io/csswg-drafts/css-contain-2/#skips-its-contents
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
cathiechen
Pull request: https://github.com/WebKit/WebKit/pull/7181
EWS
Committed 257484@main (2e92a10ead3d): <https://commits.webkit.org/257484@main>
Reviewed commits have been landed. Closing PR #7181 and removing active labels.