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">
3 <title>document.getElementsByClassName(): "tricky" compound</title>
4 <script src="resources/common.js"></script>
7 <p id="r">FAIL (script did not run)</p>
10 <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"/>
14 var collection = document.getElementsByClassName("a"),
15 test = document.getElementsByTagNameNS("*", "x")
16 t(collection, [test[0], test[1], test[4]])