Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / getElementsByClassName / 003.html
blob661dbba69db06260dde6f2eba9a37b7f63879312
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.className = "b"
12 t(collection, [document.documentElement])
13 </script>
14 </body>
15 </html>