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