summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-invalid/input/input-fieldset-legend.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-ui-invalid/input/input-fieldset-legend.html')
-rw-r--r--layout/reftests/css-ui-invalid/input/input-fieldset-legend.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/reftests/css-ui-invalid/input/input-fieldset-legend.html b/layout/reftests/css-ui-invalid/input/input-fieldset-legend.html
new file mode 100644
index 000000000..6f85637b4
--- /dev/null
+++ b/layout/reftests/css-ui-invalid/input/input-fieldset-legend.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+ <!-- Test: if input is invalid but it's value hasn't changed, it's not
+ affected by :-moz-ui-invalid pseudo-class. -->
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset disabled>
+ <legend>
+ <input class='notinvalid' required>
+ </legend>
+ </fieldset>
+ </body>
+</html>