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

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

Issue 1988983002: Move the dom directory from web-platform-tests/ to wpt/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
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"> 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> 2 <head>
3 <title>document.getElementsByClassName(): "tricky" compound</title> 3 <title>document.getElementsByClassName(): "tricky" compound</title>
4 <script src="../../../../resources/testharness.js"></script> 4 <script src="../../../../resources/testharness.js"></script>
5 <script src="../../../../resources/testharnessreport.js"></script> 5 <script src="../../../../resources/testharnessreport.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <div id="log" /> 8 <div id="log" />
9 <div id="tests"> 9 <div id="tests">
10 <x class="a"/> 10 <x class="a"/>
11 <g:x class="a"/> 11 <g:x class="a"/>
12 <x t:class="a" h:class="a" g: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"/> 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"/> 14 <t:x class="a" t:class="a" h:class="a" g:class="a"/>
15 </div> 15 </div>
16 <script> 16 <script>
17 test(function() { 17 test(function() {
18 var collection = document.getElementsByClassName("a"); 18 var collection = document.getElementsByClassName("a");
19 var test = document.getElementById("tests").children; 19 var test = document.getElementById("tests").children;
20 assert_array_equals(collection, [test[0], test[1], test[4]]); 20 assert_array_equals(collection, [test[0], test[1], test[4]]);
21 }) 21 })
22 </script> 22 </script>
23 </body> 23 </body>
24 </html> 24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698