Bug 248280 - [content-visibility] c-v:hidden only turns on contain: size, not contain: inline-size
Summary: [content-visibility] c-v:hidden only turns on contain: size, not contain: inl...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: cathiechen
URL:
Keywords: InRadar
Depends on: 248679
Blocks: 236238
  Show dependency treegraph
 
Reported: 2022-11-23 12:17 PST by cathiechen
Modified: 2022-12-06 13:35 PST (History)
7 users (show)

See Also:


Attachments
WIP-patch (681 bytes, patch)
2022-11-23 12:19 PST, cathiechen
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description cathiechen 2022-11-23 12:17:36 PST
Per [1], when an element skips its contents, it turns on size containment.

https://w3c.github.io/csswg-drafts/css-contain-2/#skips-its-contents
Comment 1 cathiechen 2022-11-23 12:19:58 PST
Created attachment 463697 [details]
WIP-patch
Comment 2 Radar WebKit Bug Importer 2022-11-30 12:18:17 PST
<rdar://problem/102824388>
Comment 3 cathiechen 2022-12-05 11:51:44 PST
Pull request: https://github.com/WebKit/WebKit/pull/7158
Comment 4 EWS 2022-12-06 13:35:52 PST
Committed 257431@main (eaa26fbd160e): <https://commits.webkit.org/257431@main>

Reviewed commits have been landed. Closing PR #7158 and removing active labels.