-
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.
REGRESSION (Safari 17): Named at-rule container skipped when containe…
…r named in a :host selector https://bugs.webkit.org/show_bug.cgi?id=267046 rdar://120428386 Reviewed by Alan Baradlay. * LayoutTests/imported/w3c/web-platform-tests/css/css-contain/container-queries/container-name-tree-scoped-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-contain/container-queries/container-name-tree-scoped.html: * Source/WebCore/style/ContainerQueryEvaluator.cpp: (WebCore::Style::ContainerQueryEvaluator::selectContainer): A container query should be allowed to match a host element with container name that defined by :host rule in the same shadow tree as the query. Canonical link: https://commits.webkit.org/273987@main
- Loading branch information
Showing
3 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...-platform-tests/css/css-contain/container-queries/container-name-tree-scoped-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
|
||
PASS Outer scope query should not match container-name set by :host rule in shadow tree | ||
PASS Outer scope query should not match container-name set by ::slotted rule in shadow tree | ||
PASS Inner scope query should match container-name set by :host rule in shadow tree | ||
|
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