diff options
Diffstat (limited to 'LayoutTests/fast/dom/getElementsByClassName/array')
8 files changed, 51 insertions, 0 deletions
diff --git a/LayoutTests/fast/dom/getElementsByClassName/array/001-expected.txt b/LayoutTests/fast/dom/getElementsByClassName/array/001-expected.txt new file mode 100644 index 0000000..7ef22e9 --- /dev/null +++ b/LayoutTests/fast/dom/getElementsByClassName/array/001-expected.txt @@ -0,0 +1 @@ +PASS diff --git a/LayoutTests/fast/dom/getElementsByClassName/array/001.html b/LayoutTests/fast/dom/getElementsByClassName/array/001.html new file mode 100644 index 0000000..d002002 --- /dev/null +++ b/LayoutTests/fast/dom/getElementsByClassName/array/001.html @@ -0,0 +1,13 @@ +<!doctype html> +<html class="a +b"> + <head> + <title>document.getElementsByClassName(array): "a\n"</title> + <script src="../resources/common.js"></script> + </head> + <body class="a +"> + <p id="r">FAIL (script did not run)</p> + <script> t(document.getElementsByClassName(["a\n"]), [document.documentElement, document.body]) </script> + </body> +</html> diff --git a/LayoutTests/fast/dom/getElementsByClassName/array/002-expected.txt b/LayoutTests/fast/dom/getElementsByClassName/array/002-expected.txt new file mode 100644 index 0000000..7ef22e9 --- /dev/null +++ b/LayoutTests/fast/dom/getElementsByClassName/array/002-expected.txt @@ -0,0 +1 @@ +PASS diff --git a/LayoutTests/fast/dom/getElementsByClassName/array/002.html b/LayoutTests/fast/dom/getElementsByClassName/array/002.html new file mode 100644 index 0000000..2148e5e --- /dev/null +++ b/LayoutTests/fast/dom/getElementsByClassName/array/002.html @@ -0,0 +1,12 @@ +<!doctype html> +<html class="a +b"> + <head> + <title>document.getElementsByClassName(array): "b","a"</title> + <script src="../resources/common.js"></script> + </head> + <body class="b,a"> + <p id="r">FAIL (script did not run)</p> + <script> t(document.getElementsByClassName(["b", "a"]), [document.body]) </script> + </body> +</html> diff --git a/LayoutTests/fast/dom/getElementsByClassName/array/003-expected.txt b/LayoutTests/fast/dom/getElementsByClassName/array/003-expected.txt new file mode 100644 index 0000000..7ef22e9 --- /dev/null +++ b/LayoutTests/fast/dom/getElementsByClassName/array/003-expected.txt @@ -0,0 +1 @@ +PASS diff --git a/LayoutTests/fast/dom/getElementsByClassName/array/003.html b/LayoutTests/fast/dom/getElementsByClassName/array/003.html new file mode 100644 index 0000000..e110dc9 --- /dev/null +++ b/LayoutTests/fast/dom/getElementsByClassName/array/003.html @@ -0,0 +1,11 @@ +<!doctype html> +<html> + <head> + <title>document.getElementsByClassName(array): "b a"</title> + <script src="../resources/common.js"></script> + </head> + <body class="a b"> + <p id="r">FAIL (script did not run)</p> + <script> t(document.getElementsByClassName(["b a"]), [document.body]) </script> + </body> +</html> diff --git a/LayoutTests/fast/dom/getElementsByClassName/array/004-expected.txt b/LayoutTests/fast/dom/getElementsByClassName/array/004-expected.txt new file mode 100644 index 0000000..7ef22e9 --- /dev/null +++ b/LayoutTests/fast/dom/getElementsByClassName/array/004-expected.txt @@ -0,0 +1 @@ +PASS diff --git a/LayoutTests/fast/dom/getElementsByClassName/array/004.html b/LayoutTests/fast/dom/getElementsByClassName/array/004.html new file mode 100644 index 0000000..3740509 --- /dev/null +++ b/LayoutTests/fast/dom/getElementsByClassName/array/004.html @@ -0,0 +1,11 @@ +<!doctype html> +<html class="a,b"> + <head> + <title>element.getElementsByClassName(array): "a", "b"</title> + <script src="../resources/common.js"></script> + </head> + <body class="a,b x"> + <p id="r" class="a,bx">FAIL (script did not run)</p> + <script class="xa,b"> t(document.documentElement.getElementsByClassName(["\fa","b\n"]), [document.body]) </script> + </body> +</html> |