[webkit-changes] [WebKit/WebKit] e0a777: [container-queries] Drop layout containment from c...
Alan Baradlay
noreply at github.com
Sat Oct 5 07:36:27 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e0a77700ca7ba9b67cffb56db95f76a22d2bb631
https://github.com/WebKit/WebKit/commit/e0a77700ca7ba9b67cffb56db95f76a22d2bb631
Author: Alan Baradlay <zalan at apple.com>
Date: 2024-10-05 (Sat, 05 Oct 2024)
Changed paths:
M LayoutTests/TestExpectations
M LayoutTests/imported/w3c/web-platform-tests/css/css-conditional/container-queries/no-layout-containment-scroll-expected.txt
M Source/WebCore/rendering/RenderElement.cpp
M Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp
Log Message:
-----------
[container-queries] Drop layout containment from container-type
https://bugs.webkit.org/show_bug.cgi?id=277122
<rdar://problem/132549134>
Reviewed by Antti Koivisto.
See w3c/csswg-drafts#10544 and the relevant Blink change https://chromium.googlesource.com/chromium/src/+/e28cd00c20c78b8fd11546d59fd6c82243ce7115
1. Drop layout containment
2. Make sure non-initial container-type establishes independent formatting context
3. Do not block container query evaluation on layout containment (see #1).
Credit goes to Karl Dubost and Tim Nguyen.
* LayoutTests/TestExpectations:
* LayoutTests/imported/w3c/web-platform-tests/css/css-conditional/container-queries/no-layout-containment-scroll-expected.txt:
* Source/WebCore/rendering/RenderElement.cpp:
(WebCore::RenderElement::establishesIndependentFormattingContext const):
(WebCore::RenderElement::hasEligibleContainmentForSizeQuery const):
* Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::usedContain const):
Canonical link: https://commits.webkit.org/284730@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list