summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-disabled/select/select-fieldset-3.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-disabled/select/select-fieldset-3.html')
-rw-r--r--layout/reftests/css-disabled/select/select-fieldset-3.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/reftests/css-disabled/select/select-fieldset-3.html b/layout/reftests/css-disabled/select/select-fieldset-3.html
new file mode 100644
index 0000000000..c30347271a
--- /dev/null
+++ b/layout/reftests/css-disabled/select/select-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">
+ <select class="disabled"></select>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>