summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-valid/fieldset/fieldset-valid.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-valid/fieldset/fieldset-valid.html')
-rw-r--r--layout/reftests/css-valid/fieldset/fieldset-valid.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/css-valid/fieldset/fieldset-valid.html b/layout/reftests/css-valid/fieldset/fieldset-valid.html
new file mode 100644
index 000000000..8f99cb021
--- /dev/null
+++ b/layout/reftests/css-valid/fieldset/fieldset-valid.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+ <!-- Test: fieldset undergoes constraint validation.
+ It should be affected by :valid pseudo-class. -->
+ <style>
+ fieldset:valid { display: none; }
+ </style>
+ <body>
+ <fieldset>
+ </fieldset>
+ </body>
+</html>