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

Side by Side Diff: LayoutTests/fast/dom/getElementsByClassName/011.xml

Issue 458663003: getElementsByClassName should include non styled Elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 6 years, 4 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/getElementsByClassName/non-styled-elements.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/common.js"></script> 4 <script src="resources/common.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p id="r">FAIL (script did not run)</p> 7 <p id="r">FAIL (script did not run)</p>
8 <x class="a"/> 8 <x class="a"/>
9 <g:x class="a"/> 9 <g:x class="a"/>
10 <x t:class="a" h:class="a" g:class="a"/> 10 <x t:class="a" h:class="a" g:class="a"/>
11 <g:x t:class="a" h:class="a" g:class="a"/> 11 <g:x t:class="a" h:class="a" g:class="a"/>
12 <t:x class="a" t:class="a" h:class="a" g:class="a"/> 12 <t:x class="a" t:class="a" h:class="a" g:class="a"/>
13 <script> 13 <script>
14 var collection = document.getElementsByClassName("a"), 14 var collection = document.getElementsByClassName("a"),
15 test = document.getElementsByTagName("x") 15 test = document.getElementsByTagNameNS("*", "x")
16 t(collection, [test[0], test[1]]) 16 t(collection, [test[0], test[1], test[4]])
17 </script> 17 </script>
18 </body> 18 </body>
19 </html> 19 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/getElementsByClassName/non-styled-elements.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698