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

Unified Diff: LayoutTests/fast/dom/SelectorAPI/duplicate-id-scope-expected.txt

Issue 93863004: Regression(r164102): CSS Selector queries on duplicate ids match non-descendant elements (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/dom/SelectorAPI/duplicate-id-scope-expected.txt
diff --git a/LayoutTests/fast/dom/SelectorAPI/duplicate-id-scope-expected.txt b/LayoutTests/fast/dom/SelectorAPI/duplicate-id-scope-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4170a2034a8d76c494e5c2fa3a81556b14eb9610
--- /dev/null
+++ b/LayoutTests/fast/dom/SelectorAPI/duplicate-id-scope-expected.txt
@@ -0,0 +1,14 @@
+Test that CSS selector queries on duplicate Ids respect scope.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS document.querySelectorAll('#duplicateId1').length is 6
+PASS document.querySelectorAll('#duplicateId2').length is 2
+PASS scopeDiv.querySelectorAll('#duplicateId1').length is 4
+PASS scopeDiv.querySelector('#duplicateId2') is null
+PASS scopeDiv.querySelectorAll('#duplicateId2').length is 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698