Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/getElementsByClassName-16.htm |
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/getElementsByClassName-16.htm b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/getElementsByClassName-16.htm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..242a00be5037a8b3ff3c5d4cf6b2a2c47cac5af9 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/getElementsByClassName-16.htm |
@@ -0,0 +1,16 @@ |
+<!doctype html> |
+<html class="a |
+b"> |
+ <head> |
+ <title>document.getElementsByClassName(array): "b","a"</title> |
+ <script src="../../../../resources/testharness.js"></script> |
+ <script src="../../../../resources/testharnessreport.js"></script> |
+ </head> |
+ <body class="b,a"> |
+ <div id="log"></div> |
+ <script>test(function() { |
+ assert_array_equals(document.getElementsByClassName(["b", "a"]), [document.body]); |
+ }) |
+ </script> |
+ </body> |
+</html> |