RESOLVED FIXED 277122
[container-queries] Drop layout containment from container-type
https://bugs.webkit.org/show_bug.cgi?id=277122
Summary [container-queries] Drop layout containment from container-type
Karl Dubost
Reported 2024-07-25 23:10:56 PDT
In [css-contain-2][css-conditional-5] Weaker form of layout containment for container queries https://github.com/w3c/csswg-drafts/issues/10544 The CSS WG adopted the resolution RESOLVED: container-type does not force layout containment, but does force an independent formatting context https://github.com/w3c/csswg-drafts/issues/10544#issuecomment-2248438355 Some WPT tests are being added to https://github.com/web-platform-tests/wpt/commit/27c89c6f06af177cbd8f2ba5517be3c110fa50a0 1. On https://searchfox.org/wubkat/rev/b36cbce69fddb7da33823f316bd8ead5bebee970/Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp#327,330 Containment::Layout needs to be removed 3. On https://searchfox.org/wubkat/source/Source/WebCore/rendering/RenderElement.cpp#2408-2411 add containerType() != ContainerType::Normal || in the return value
Attachments
Patch (5.96 KB, patch)
2024-10-04 08:24 PDT, zalan
no flags
[fast-cq]Patch (5.96 KB, patch)
2024-10-05 05:17 PDT, zalan
no flags
Radar WebKit Bug Importer
Comment 1 2024-07-25 23:11:08 PDT
Karl Dubost
Comment 2 2024-07-25 23:21:33 PDT
Karl Dubost
Comment 3 2024-07-28 23:07:53 PDT
zalan
Comment 4 2024-10-04 08:24:30 PDT
zalan
Comment 5 2024-10-05 05:17:42 PDT
Created attachment 472821 [details] [fast-cq]Patch
EWS
Comment 6 2024-10-05 07:36:08 PDT
Committed 284730@main (e0a77700ca7b): <https://commits.webkit.org/284730@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 472821 [details].
zalan
Comment 7 2025-01-20 17:06:25 PST
*** Bug 286237 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.