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

Unified 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: Add test 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/getElementsByClassName/011.xml
diff --git a/LayoutTests/fast/dom/getElementsByClassName/011.xml b/LayoutTests/fast/dom/getElementsByClassName/011.xml
index 6790b5a345f0785739f41194aba9d279c844bb6d..4ace9f58ba19eaab33b52557be32c3615fae2cf3 100644
--- a/LayoutTests/fast/dom/getElementsByClassName/011.xml
+++ b/LayoutTests/fast/dom/getElementsByClassName/011.xml
@@ -12,8 +12,8 @@
<t:x class="a" t:class="a" h:class="a" g:class="a"/>
<script>
var collection = document.getElementsByClassName("a"),
- test = document.getElementsByTagName("x")
- t(collection, [test[0], test[1]])
+ test = document.getElementsByTagNameNS("*", "x")
+ t(collection, [test[0], test[1], test[4]])
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698