4 <title>element.getElementsByClassName(): adding an element
</title>
5 <script src=
"resources/common.js"></script>
8 <p id=
"r">FAIL (script did not run)
</p>
10 var collection
= document
.body
.getElementsByClassName("a"),
11 ele
= document
.createElement("x-y-z")
13 document
.body
.appendChild(ele
)