Skip to content

Commit

Permalink
Bug 1480047 [wpt PR 12252] - Add WPT for :scope selector on shadow tr…
Browse files Browse the repository at this point in the history
…ees, a=testonly

Automatic update from web-platform-testsAdd WPT for :scope selector on shadow trees

This WPT shows that :scope does not work for shadow root.
:scope matches nothing when the direct child element or descendant of shadow root should be selected, while :scope works fine for descendant elements within shadow root.

Link to the spec:
https://drafts.csswg.org/selectors-4/#the-scope-pseudo

Link to related issue:
w3c/csswg-drafts#3016

Bug: 859692
Change-Id: I801706eb7891035dcb900588d5542bd48fa1c12a
Reviewed-on: https://chromium-review.googlesource.com/1158445
Commit-Queue: Momoko Sumida <momongoogle.com>
Reviewed-by: Rakina Zata Amni <rakinachromium.org>
Reviewed-by: Hayato Ito <hayatochromium.org>
Cr-Commit-Position: refs/heads/master{#583210}

--

wpt-commits: a48491848fb4e328e6cdd5c4d7a95494f1ff2c6a
wpt-pr: 12252

UltraBlame original commit: 337b6f0c1dc4f4c6a3817b0b1fa478c8ade30566
  • Loading branch information
marco-c committed Oct 3, 2019
1 parent 67b8ab9 commit 4e71515
Show file tree
Hide file tree
Showing 2 changed files with 595 additions and 0 deletions.
50 changes: 50 additions & 0 deletions testing/web-platform/meta/MANIFEST.json
Original file line number Diff line number Diff line change
Expand Up @@ -2053299,6 +2053299,36 @@ css
/
selectors
/
scope
-
selector
.
html
"
:
[
[
"
/
css
/
selectors
/
scope
-
selector
.
html
"
{
}
]
]
"
css
/
selectors
/
user
-
invalid
Expand Down Expand Up @@ -3738630,6 +3738660,26 @@ selectors
/
scope
-
selector
.
html
"
:
[
"
bda0aed602aa691bba4c4089f0a4827a9b836c9e
"
"
testharness
"
]
"
css
/
selectors
/
scope
-
without
-
scoping
Expand Down
Loading

0 comments on commit 4e71515

Please sign in to comment.