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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Test that CSS selector queries on duplicate Ids respect scope.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS document.querySelectorAll('#duplicateId1').length is 6
7 PASS document.querySelectorAll('#duplicateId2').length is 2
8 PASS scopeDiv.querySelectorAll('#duplicateId1').length is 4
9 PASS scopeDiv.querySelector('#duplicateId2') is null
10 PASS scopeDiv.querySelectorAll('#duplicateId2').length is 0
11 PASS successfullyParsed is true
12
13 TEST COMPLETE
14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698