diff options
Diffstat (limited to 'LayoutTests/fast/dom/getElementsByClassName/015.html')
-rw-r--r-- | LayoutTests/fast/dom/getElementsByClassName/015.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/LayoutTests/fast/dom/getElementsByClassName/015.html b/LayoutTests/fast/dom/getElementsByClassName/015.html new file mode 100644 index 0000000..567b990 --- /dev/null +++ b/LayoutTests/fast/dom/getElementsByClassName/015.html @@ -0,0 +1,14 @@ +<html class="a"> + <head> + <title>document.getElementsByClassName(): live updating</title> + <script src="resources/common.js"></script> + </head> + <body class="a"> + <p id="r">FAIL (script did not run)</p> + <script> + var elms = document.getElementsByClassName("a"); + elms[1].className = ""; + t(elms, [document.documentElement]); + </script> + </body> +</html> |