Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / getElementsByClassName / 005.html
blob5a609db75a0e1334df831ea024b38f39d120ba30
1 <!doctype html>
2 <html class="a">
3 <head>
4 <title>document.getElementsByClassName(): changing classes</title>
5 <script src="resources/common.js"></script>
6 </head>
7 <body class="a">
8 <p id="r">FAIL (script did not run)</p>
9 <script>
10 var collection = document.getElementsByClassName("a")
11 document.body.removeAttribute("class")
12 t(collection, [document.documentElement])
13 </script>
14 </body>
15 </html>