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