summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-invalid/input/input-file-required-invalid-default.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-ui-invalid/input/input-file-required-invalid-default.html')
-rw-r--r--layout/reftests/css-ui-invalid/input/input-file-required-invalid-default.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/reftests/css-ui-invalid/input/input-file-required-invalid-default.html b/layout/reftests/css-ui-invalid/input/input-file-required-invalid-default.html
new file mode 100644
index 000000000..aa1d862d4
--- /dev/null
+++ b/layout/reftests/css-ui-invalid/input/input-file-required-invalid-default.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+ <!-- Test: if input isn't valid nor barred from constraint validation,
+ but its default value hasn't been changed,
+ it should not be affected by :-moz-ui-invalid pseudo-class. -->
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <input class='notinvalid' type='file' required>
+ </body>
+</html>