summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/button/button-visibility-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/button/button-visibility-1.html')
-rw-r--r--layout/reftests/forms/button/button-visibility-1.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/layout/reftests/forms/button/button-visibility-1.html b/layout/reftests/forms/button/button-visibility-1.html
new file mode 100644
index 0000000000..84faf2ca03
--- /dev/null
+++ b/layout/reftests/forms/button/button-visibility-1.html
@@ -0,0 +1,26 @@
+<html>
+
+<head>
+ <meta charset="utf-8">
+ <title>Test for bug 1732921</title>
+ <style>
+ .parent {
+ border: 0px;
+ background: none;
+ visibility: hidden;
+ will-change: transform;
+ }
+
+ .child {
+ visibility: visible;
+ }
+ </style>
+</head>
+
+<body>
+ <button class="parent">
+ <span class="child">foo</span>
+ </button>
+</body>
+
+</html>