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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/getElementsByClassName-11.xml

Issue 1529523002: Import dom/ from web-platform-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweak W3CImportExpectations Created 5 years 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
OLDNEW
(Empty)
1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:g="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:t="http://tc.labs.opera.com/#test">
2 <head>
3 <title>document.getElementsByClassName(): "tricky" compound</title>
4 <script src="../../../../resources/testharness.js"></script>
5 <script src="../../../../resources/testharnessreport.js"></script>
6 </head>
7 <body>
8 <div id="log" />
9 <div id="tests">
10 <x class="a"/>
11 <g:x class="a"/>
12 <x t:class="a" h:class="a" g:class="a"/>
13 <g:x t:class="a" h:class="a" g:class="a"/>
14 <t:x class="a" t:class="a" h:class="a" g:class="a"/>
15 </div>
16 <script>
17 test(function() {
18 var collection = document.getElementsByClassName("a");
19 var test = document.getElementById("tests").children;
20 assert_array_equals(collection, [test[0], test[1], test[4]]);
21 })
22 </script>
23 </body>
24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698