summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-optional/css-optional-style.css
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-optional/css-optional-style.css')
-rw-r--r--layout/reftests/css-optional/css-optional-style.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/layout/reftests/css-optional/css-optional-style.css b/layout/reftests/css-optional/css-optional-style.css
new file mode 100644
index 000000000..616aa79f0
--- /dev/null
+++ b/layout/reftests/css-optional/css-optional-style.css
@@ -0,0 +1,8 @@
+input, textarea, select, button,
+*:required {
+ visibility: hidden;
+}
+
+*:optional {
+ visibility: visible;
+}