summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-invalid/textarea/textarea-fieldset-legend.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/css-ui-invalid/textarea/textarea-fieldset-legend.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/css-ui-invalid/textarea/textarea-fieldset-legend.html b/layout/reftests/css-ui-invalid/textarea/textarea-fieldset-legend.html
new file mode 100644
index 0000000000..8e734af290
--- /dev/null
+++ b/layout/reftests/css-ui-invalid/textarea/textarea-fieldset-legend.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+ <!-- Test: if textarea has a disabled fieldset ancestor, is in the first
+ legend but has its value not changed, it should not be
+ affected by :-moz-ui-invalid pseudo-class. -->
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset disabled>
+ <legend>
+ <textarea class='notinvalid' required></textarea>
+ </legend>
+ </fieldset>
+ </body>
+</html>