Index: third_party/WebKit/LayoutTests/imported/wpt/html/editing/the-hidden-attribute/hidden-1d.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/editing/the-hidden-attribute/hidden-1d.html b/third_party/WebKit/LayoutTests/imported/wpt/html/editing/the-hidden-attribute/hidden-1d.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e759148f2246af5c8c49099998c1703926066c2c |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/html/editing/the-hidden-attribute/hidden-1d.html |
@@ -0,0 +1,12 @@ |
+<!doctype html> |
+<title>The hidden attribute</title> |
+<link rel=match href=hidden-1-ref.html> |
+<link rel=author title=Ms2ger href=mailto:Ms2ger@gmail.com> |
+<link rel=help href=https://html.spec.whatwg.org/multipage/#the-hidden-attribute> |
+<link rel=help href=https://html.spec.whatwg.org/multipage/#hidden-elements> |
+<p hidden>This line should be visible. |
+<p>This line should not be visible. |
+<script> |
+document.getElementsByTagName("p")[0].removeAttribute("hidden"); |
+document.getElementsByTagName("p")[1].setAttribute("hidden", ""); |
+</script> |