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

Unified Diff: LayoutTests/fast/selectors/querySelector-leftmost-selector-matches-rootNode-expected.txt

Issue 26218002: ClassRootNodeList should start from rootNode, not the first child of rootNode. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 years, 2 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/querySelector-leftmost-selector-matches-rootNode-expected.txt
diff --git a/LayoutTests/fast/selectors/querySelector-leftmost-selector-matches-rootNode-expected.txt b/LayoutTests/fast/selectors/querySelector-leftmost-selector-matches-rootNode-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d49575191025dad97915e2dcba9bc435614e1c3
--- /dev/null
+++ b/LayoutTests/fast/selectors/querySelector-leftmost-selector-matches-rootNode-expected.txt
@@ -0,0 +1,18 @@
+Test for crbug.com/304069: querySelectorAll regression.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS document.body.querySelectorAll('#target > div').length is 6
+PASS document.body.querySelectorAll('#target').length is 0
+PASS document.body.querySelectorAll('.target > div').length is 6
+PASS document.body.querySelectorAll('.target').length is 0
+PASS document.body.querySelectorAll('body > div').length is 6
+PASS document.body.querySelectorAll('body').length is 0
+PASS document.body.querySelector('#target') is null
+PASS document.body.querySelector('.target') is null
+PASS document.body.querySelector('body') is null
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/selectors/querySelector-leftmost-selector-matches-rootNode.html ('k') | Source/core/dom/SelectorQuery.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698