summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-invalid/form/form-static-invalid.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-invalid/form/form-static-invalid.html')
-rw-r--r--layout/reftests/css-invalid/form/form-static-invalid.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/css-invalid/form/form-static-invalid.html b/layout/reftests/css-invalid/form/form-static-invalid.html
new file mode 100644
index 0000000000..aea413e491
--- /dev/null
+++ b/layout/reftests/css-invalid/form/form-static-invalid.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<!--form with only invalid elements -->
+<html>
+ <head>
+ <style>
+ form:invalid { display: none; }
+ </style>
+ </head>
+ <body>
+ <form>
+ <input required>
+ </form>
+ </body>
+</html>