-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CSS Container Queries] Container unit resolution should check the se…
…lected container is eligible https://bugs.webkit.org/show_bug.cgi?id=260561 rdar://problem/114291153 Reviewed by Alan Baradlay. * LayoutTests/imported/w3c/web-platform-tests/css/css-contain/container-queries/container-units-ineligible-container-expected.txt: * Source/WebCore/css/CSSPrimitiveValue.cpp: (WebCore::CSSPrimitiveValue::computeNonCalcLengthDouble): Loop until an eligible container is found. * Source/WebCore/css/query/ContainerQueryFeatures.cpp: * Source/WebCore/rendering/RenderElement.cpp: (WebCore::RenderElement::hasEligibleContainmentForSizeQuery const): Factor into a shared function. * Source/WebCore/rendering/RenderElement.h: Canonical link: https://commits.webkit.org/267192@main
- Loading branch information
Showing
5 changed files
with
35 additions
and
31 deletions.
There are no files selected for viewing
10 changes: 5 additions & 5 deletions
10
...tests/css/css-contain/container-queries/container-units-ineligible-container-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters