summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-enabled/fieldset/fieldset-fieldset-3.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-enabled/fieldset/fieldset-fieldset-3.html')
-rw-r--r--layout/reftests/css-enabled/fieldset/fieldset-fieldset-3.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/reftests/css-enabled/fieldset/fieldset-fieldset-3.html b/layout/reftests/css-enabled/fieldset/fieldset-fieldset-3.html
new file mode 100644
index 000000000..4c0933546
--- /dev/null
+++ b/layout/reftests/css-enabled/fieldset/fieldset-fieldset-3.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <script>
+ function onloadHandler()
+ {
+ var fieldsets = document.getElementsByTagName('fieldset');
+ fieldsets[1].disabled = true;
+ fieldsets[0].disabled = false;
+ document.documentElement.className='';
+ }
+ </script>
+ <body onload="onloadHandler();">
+ <fieldset disabled class="enabled">
+ <fieldset class="disabled">
+ <fieldset class="disabled"></fieldset>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>