| Index: third_party/WebKit/LayoutTests/shadow-dom/v0/deep-in-selectors.html
|
| diff --git a/third_party/WebKit/LayoutTests/shadow-dom/v0/deep-in-selectors.html b/third_party/WebKit/LayoutTests/shadow-dom/v0/deep-in-selectors.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1681bd77ffa29e9ca32cb6a48bd3753830644155
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/shadow-dom/v0/deep-in-selectors.html
|
| @@ -0,0 +1,13 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<div id=a><div id=b></div></div>
|
| +<script>
|
| +test(() => {
|
| + const sr = a.createShadowRoot();
|
| + const p = document.createElement('p');
|
| + sr.appendChild(p);
|
| +
|
| + assert_array_equals(document.querySelectorAll('#a *, #a /deep/ *'), [p, b]);
|
| +}, '/deep/ should be valid in the second selector of selectors');
|
| +</script>
|
|
|