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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/selectors/query-update-distribution-expected.txt
diff --git a/LayoutTests/fast/selectors/query-update-distribution-expected.txt b/LayoutTests/fast/selectors/query-update-distribution-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4189371db9bb89cd528e466157ae5217230c7bd3
--- /dev/null
+++ b/LayoutTests/fast/selectors/query-update-distribution-expected.txt
@@ -0,0 +1,18 @@
+Should update distribution when needed for querySelector and related methods.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS aRoot.querySelector(':host-context(#c) #d') is d
+PASS toArray(aRoot.querySelectorAll(':host-context(#c) #d')) is [d]
+PASS hostRoot.querySelector('::content #a') is null
+PASS toArray(hostRoot.querySelectorAll('::content #a')) is []
+PASS a.matches('::content #a') is false
+PASS d.matches(':host-context(#host) #d') is true
+PASS d.matches(':host-context(#c) #d') is true
+PASS b.closest('::content #a') is null
+PASS e.closest(':host-context(#host) #d') is d
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698