summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-disabled/select
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/css-disabled/select/reftest.list9
-rw-r--r--layout/reftests/css-disabled/select/select-fieldset-1.html11
-rw-r--r--layout/reftests/css-disabled/select/select-fieldset-2.html11
-rw-r--r--layout/reftests/css-disabled/select/select-fieldset-3.html20
-rw-r--r--layout/reftests/css-disabled/select/select-fieldset-4.html19
-rw-r--r--layout/reftests/css-disabled/select/select-fieldset-legend-1.html11
-rw-r--r--layout/reftests/css-disabled/select/select-fieldset-legend-2.html13
-rw-r--r--layout/reftests/css-disabled/select/select-fieldset-legend-3.html13
-rw-r--r--layout/reftests/css-disabled/select/select-fieldset-legend-4.html13
-rw-r--r--layout/reftests/css-disabled/select/select-fieldset-legend-5.html15
-rw-r--r--layout/reftests/css-disabled/select/select-fieldset-legend-ref-1.html11
-rw-r--r--layout/reftests/css-disabled/select/select-fieldset-legend-ref-2.html13
-rw-r--r--layout/reftests/css-disabled/select/select-fieldset-legend-ref-3.html13
-rw-r--r--layout/reftests/css-disabled/select/select-fieldset-legend-ref-4.html13
-rw-r--r--layout/reftests/css-disabled/select/select-fieldset-legend-ref-5.html15
-rw-r--r--layout/reftests/css-disabled/select/select-fieldset-ref-disabled.html11
-rw-r--r--layout/reftests/css-disabled/select/select-fieldset-ref.html11
-rw-r--r--layout/reftests/css-disabled/select/style.css19
18 files changed, 241 insertions, 0 deletions
diff --git a/layout/reftests/css-disabled/select/reftest.list b/layout/reftests/css-disabled/select/reftest.list
new file mode 100644
index 0000000000..a228dba1c8
--- /dev/null
+++ b/layout/reftests/css-disabled/select/reftest.list
@@ -0,0 +1,9 @@
+fuzzy-if(Android,0-12,0-1) == select-fieldset-1.html select-fieldset-ref.html
+fuzzy-if(Android,0-12,0-1) fuzzy-if(skiaContent&&!Android,0-2,0-17) == select-fieldset-2.html select-fieldset-ref-disabled.html
+fuzzy-if(skiaContent&&!Android,0-2,0-17) == select-fieldset-3.html select-fieldset-ref-disabled.html
+fuzzy-if(Android,0-12,0-1) fuzzy-if(skiaContent&&!Android,0-2,0-13) == select-fieldset-4.html select-fieldset-ref.html
+== select-fieldset-legend-1.html select-fieldset-legend-ref-1.html
+fuzzy-if(Android,0-12,0-1) fuzzy-if(skiaContent&&!Android,0-2,0-6) == select-fieldset-legend-2.html select-fieldset-legend-ref-2.html
+fuzzy-if(Android,0-12,0-1) fuzzy-if(skiaContent&&!Android,0-2,0-8) == select-fieldset-legend-3.html select-fieldset-legend-ref-3.html
+fuzzy-if(Android,0-12,0-1) fuzzy-if(skiaContent&&!Android,0-2,0-12) == select-fieldset-legend-4.html select-fieldset-legend-ref-4.html
+fuzzy-if(skiaContent,0-2,0-5) == select-fieldset-legend-5.html select-fieldset-legend-ref-5.html
diff --git a/layout/reftests/css-disabled/select/select-fieldset-1.html b/layout/reftests/css-disabled/select/select-fieldset-1.html
new file mode 100644
index 0000000000..84874986fe
--- /dev/null
+++ b/layout/reftests/css-disabled/select/select-fieldset-1.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset class="enabled">
+ <fieldset class="enabled">
+ <select class="enabled"></select>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/select/select-fieldset-2.html b/layout/reftests/css-disabled/select/select-fieldset-2.html
new file mode 100644
index 0000000000..4e34c7fefb
--- /dev/null
+++ b/layout/reftests/css-disabled/select/select-fieldset-2.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset disabled class="disabled">
+ <fieldset class="disabled">
+ <select class="disabled"></select>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
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>
diff --git a/layout/reftests/css-disabled/select/select-fieldset-4.html b/layout/reftests/css-disabled/select/select-fieldset-4.html
new file mode 100644
index 0000000000..b168a2193c
--- /dev/null
+++ b/layout/reftests/css-disabled/select/select-fieldset-4.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <script>
+ function onloadHandler()
+ {
+ var fieldsets = document.getElementsByTagName('fieldset');
+ fieldsets[0].disabled = false;
+ document.documentElement.className='';
+ }
+ </script>
+ <body onload="onloadHandler();">
+ <fieldset disabled class="enabled">
+ <fieldset class="enabled">
+ <select class="enabled"></select>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/select/select-fieldset-legend-1.html b/layout/reftests/css-disabled/select/select-fieldset-legend-1.html
new file mode 100644
index 0000000000..944303b88a
--- /dev/null
+++ b/layout/reftests/css-disabled/select/select-fieldset-legend-1.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset class="disabled" disabled>
+ <legend id='i'>
+ <select class="enabled"></select>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/select/select-fieldset-legend-2.html b/layout/reftests/css-disabled/select/select-fieldset-legend-2.html
new file mode 100644
index 0000000000..7a3507be23
--- /dev/null
+++ b/layout/reftests/css-disabled/select/select-fieldset-legend-2.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset class="disabled" disabled>
+ <legend>
+ </legend>
+ <legend>
+ <select class="disabled"></select>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/select/select-fieldset-legend-3.html b/layout/reftests/css-disabled/select/select-fieldset-legend-3.html
new file mode 100644
index 0000000000..29a98a88ac
--- /dev/null
+++ b/layout/reftests/css-disabled/select/select-fieldset-legend-3.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset class="disabled" disabled>
+ <fieldset class="disabled">
+ <legend>
+ <select class="disabled"></select>
+ </legend>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/select/select-fieldset-legend-4.html b/layout/reftests/css-disabled/select/select-fieldset-legend-4.html
new file mode 100644
index 0000000000..4cbc3ca856
--- /dev/null
+++ b/layout/reftests/css-disabled/select/select-fieldset-legend-4.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset class="disabled" disabled>
+ <legend>
+ <fieldset class="enabled">
+ <select class="enabled"></select>
+ </fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/select/select-fieldset-legend-5.html b/layout/reftests/css-disabled/select/select-fieldset-legend-5.html
new file mode 100644
index 0000000000..0218b95481
--- /dev/null
+++ b/layout/reftests/css-disabled/select/select-fieldset-legend-5.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset class="disabled" disabled>
+ <legend>
+ <fieldset class="disabled" disabled>
+ <legend>
+ <select class="enabled"></select>
+ </legend>
+ </fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/select/select-fieldset-legend-ref-1.html b/layout/reftests/css-disabled/select/select-fieldset-legend-ref-1.html
new file mode 100644
index 0000000000..57c42ddc22
--- /dev/null
+++ b/layout/reftests/css-disabled/select/select-fieldset-legend-ref-1.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset class="ref">
+ <legend>
+ <select class="ref"></select>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/select/select-fieldset-legend-ref-2.html b/layout/reftests/css-disabled/select/select-fieldset-legend-ref-2.html
new file mode 100644
index 0000000000..d21ba476ee
--- /dev/null
+++ b/layout/reftests/css-disabled/select/select-fieldset-legend-ref-2.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset class="ref">
+ <legend>
+ </legend>
+ <legend>
+ <select disabled class="ref"></select>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/select/select-fieldset-legend-ref-3.html b/layout/reftests/css-disabled/select/select-fieldset-legend-ref-3.html
new file mode 100644
index 0000000000..d4b147fa1a
--- /dev/null
+++ b/layout/reftests/css-disabled/select/select-fieldset-legend-ref-3.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset class="ref">
+ <fieldset class="ref">
+ <legend>
+ <select disabled class="ref"></select>
+ </legend>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/select/select-fieldset-legend-ref-4.html b/layout/reftests/css-disabled/select/select-fieldset-legend-ref-4.html
new file mode 100644
index 0000000000..55df97e20a
--- /dev/null
+++ b/layout/reftests/css-disabled/select/select-fieldset-legend-ref-4.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset class="ref">
+ <legend>
+ <fieldset class="ref">
+ <select class="ref"></select>
+ </fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/select/select-fieldset-legend-ref-5.html b/layout/reftests/css-disabled/select/select-fieldset-legend-ref-5.html
new file mode 100644
index 0000000000..1c3275c90b
--- /dev/null
+++ b/layout/reftests/css-disabled/select/select-fieldset-legend-ref-5.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset class="ref">
+ <legend>
+ <fieldset class="ref">
+ <legend>
+ <select class="ref"></select>
+ </legend>
+ </fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/select/select-fieldset-ref-disabled.html b/layout/reftests/css-disabled/select/select-fieldset-ref-disabled.html
new file mode 100644
index 0000000000..273223696b
--- /dev/null
+++ b/layout/reftests/css-disabled/select/select-fieldset-ref-disabled.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset class="ref">
+ <fieldset class="ref">
+ <select disabled class="ref"></select>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/select/select-fieldset-ref.html b/layout/reftests/css-disabled/select/select-fieldset-ref.html
new file mode 100644
index 0000000000..e85e16f6b1
--- /dev/null
+++ b/layout/reftests/css-disabled/select/select-fieldset-ref.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset class="ref">
+ <fieldset class="ref">
+ <select class="ref"></select>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/select/style.css b/layout/reftests/css-disabled/select/style.css
new file mode 100644
index 0000000000..7e476eb822
--- /dev/null
+++ b/layout/reftests/css-disabled/select/style.css
@@ -0,0 +1,19 @@
+.ref {
+ background-color: green;
+}
+
+.disabled {
+ background-color: red;
+}
+
+:disabled.disabled {
+ background-color: green;
+}
+
+.enabled {
+ background-color: green;
+}
+
+:disabled.enabled {
+ background-color: red;
+}