Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(827)

Side by Side Diff: third_party/WebKit/LayoutTests/shadow-dom/v0/deep-in-selectors.html

Issue 2306903002: Fix the wrong usages of CSSSelectorList::selectorUsesXXX() functions (Closed)
Patch Set: Fix Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <div id=a><div id=b></div></div>
5 <script>
6 test(() => {
7 const sr = a.createShadowRoot();
8 const p = document.createElement('p');
9 sr.appendChild(p);
10
11 assert_array_equals(document.querySelectorAll('#a *, #a /deep/ *'), [p, b]);
12 }, '/deep/ should be valid in the second selector of selectors');
13 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSSelector.h » ('j') | third_party/WebKit/Source/core/css/CSSSelector.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698