Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/getElementsByClassName-02.htm |
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/getElementsByClassName-02.htm b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/getElementsByClassName-02.htm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..01afc83ff156aafa0705e5ebd74d0d4648a6d8c6 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/getElementsByClassName-02.htm |
@@ -0,0 +1,14 @@ |
+<!doctype html> |
+<html class="a |
+b"> |
+ <head> |
+ <title>document.getElementsByClassName(): also 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.getElementsByClassName("a\n"), [document.documentElement, document.body])}) </script> |
+ </body> |
+</html> |