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

Side by Side Diff: LayoutTests/fast/selectors/query-update-distribution-expected.txt

Issue 1153873004: Handle ::content and :host-context correctly in SelectorQuery. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix test naming. Created 5 years, 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 Should update distribution when needed for querySelector and related methods.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS aRoot.querySelector(':host-context(#c) #d') is d
7 PASS toArray(aRoot.querySelectorAll(':host-context(#c) #d')) is [d]
8 PASS hostRoot.querySelector('::content #a') is null
9 PASS toArray(hostRoot.querySelectorAll('::content #a')) is []
10 PASS a.matches('::content #a') is false
11 PASS d.matches(':host-context(#host) #d') is true
12 PASS d.matches(':host-context(#c) #d') is true
13 PASS b.closest('::content #a') is null
14 PASS e.closest(':host-context(#host) #d') is d
15 PASS successfullyParsed is true
16
17 TEST COMPLETE
18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698