summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-disabled/input
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/css-disabled/input
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/css-disabled/input')
-rw-r--r--layout/reftests/css-disabled/input/input-fieldset-1.html11
-rw-r--r--layout/reftests/css-disabled/input/input-fieldset-2.html11
-rw-r--r--layout/reftests/css-disabled/input/input-fieldset-3.html20
-rw-r--r--layout/reftests/css-disabled/input/input-fieldset-4.html19
-rw-r--r--layout/reftests/css-disabled/input/input-fieldset-legend-1.html11
-rw-r--r--layout/reftests/css-disabled/input/input-fieldset-legend-2.html13
-rw-r--r--layout/reftests/css-disabled/input/input-fieldset-legend-3.html13
-rw-r--r--layout/reftests/css-disabled/input/input-fieldset-legend-4.html13
-rw-r--r--layout/reftests/css-disabled/input/input-fieldset-legend-5.html15
-rw-r--r--layout/reftests/css-disabled/input/input-fieldset-legend-ref-1.html11
-rw-r--r--layout/reftests/css-disabled/input/input-fieldset-legend-ref-2.html13
-rw-r--r--layout/reftests/css-disabled/input/input-fieldset-legend-ref-3.html13
-rw-r--r--layout/reftests/css-disabled/input/input-fieldset-legend-ref-4.html13
-rw-r--r--layout/reftests/css-disabled/input/input-fieldset-legend-ref-5.html15
-rw-r--r--layout/reftests/css-disabled/input/input-fieldset-ref.html11
-rw-r--r--layout/reftests/css-disabled/input/reftest-stylo.list10
-rw-r--r--layout/reftests/css-disabled/input/reftest.list9
-rw-r--r--layout/reftests/css-disabled/input/style.css19
18 files changed, 240 insertions, 0 deletions
diff --git a/layout/reftests/css-disabled/input/input-fieldset-1.html b/layout/reftests/css-disabled/input/input-fieldset-1.html
new file mode 100644
index 000000000..b50f3b0f1
--- /dev/null
+++ b/layout/reftests/css-disabled/input/input-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">
+ <input class="enabled">
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/input/input-fieldset-2.html b/layout/reftests/css-disabled/input/input-fieldset-2.html
new file mode 100644
index 000000000..acfbbca5f
--- /dev/null
+++ b/layout/reftests/css-disabled/input/input-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">
+ <input class="disabled">
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/input/input-fieldset-3.html b/layout/reftests/css-disabled/input/input-fieldset-3.html
new file mode 100644
index 000000000..de095cee6
--- /dev/null
+++ b/layout/reftests/css-disabled/input/input-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">
+ <input class="disabled">
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/input/input-fieldset-4.html b/layout/reftests/css-disabled/input/input-fieldset-4.html
new file mode 100644
index 000000000..fa0fe1ac7
--- /dev/null
+++ b/layout/reftests/css-disabled/input/input-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">
+ <input class="enabled">
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/input/input-fieldset-legend-1.html b/layout/reftests/css-disabled/input/input-fieldset-legend-1.html
new file mode 100644
index 000000000..d56517ac7
--- /dev/null
+++ b/layout/reftests/css-disabled/input/input-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'>
+ <input class="enabled">
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/input/input-fieldset-legend-2.html b/layout/reftests/css-disabled/input/input-fieldset-legend-2.html
new file mode 100644
index 000000000..d564e1404
--- /dev/null
+++ b/layout/reftests/css-disabled/input/input-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>
+ <input class="disabled">
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/input/input-fieldset-legend-3.html b/layout/reftests/css-disabled/input/input-fieldset-legend-3.html
new file mode 100644
index 000000000..89c41119f
--- /dev/null
+++ b/layout/reftests/css-disabled/input/input-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>
+ <input class="disabled">
+ </legend>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/input/input-fieldset-legend-4.html b/layout/reftests/css-disabled/input/input-fieldset-legend-4.html
new file mode 100644
index 000000000..33eec83fe
--- /dev/null
+++ b/layout/reftests/css-disabled/input/input-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">
+ <input class="enabled">
+ </fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/input/input-fieldset-legend-5.html b/layout/reftests/css-disabled/input/input-fieldset-legend-5.html
new file mode 100644
index 000000000..4226c9672
--- /dev/null
+++ b/layout/reftests/css-disabled/input/input-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>
+ <input class="enabled">
+ </legend>
+ </fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/input/input-fieldset-legend-ref-1.html b/layout/reftests/css-disabled/input/input-fieldset-legend-ref-1.html
new file mode 100644
index 000000000..5511e567b
--- /dev/null
+++ b/layout/reftests/css-disabled/input/input-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>
+ <input class="ref">
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/input/input-fieldset-legend-ref-2.html b/layout/reftests/css-disabled/input/input-fieldset-legend-ref-2.html
new file mode 100644
index 000000000..4d0658b64
--- /dev/null
+++ b/layout/reftests/css-disabled/input/input-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>
+ <input class="ref">
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/input/input-fieldset-legend-ref-3.html b/layout/reftests/css-disabled/input/input-fieldset-legend-ref-3.html
new file mode 100644
index 000000000..15fb4d9ce
--- /dev/null
+++ b/layout/reftests/css-disabled/input/input-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>
+ <input class="ref">
+ </legend>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/input/input-fieldset-legend-ref-4.html b/layout/reftests/css-disabled/input/input-fieldset-legend-ref-4.html
new file mode 100644
index 000000000..3fdd2b4dd
--- /dev/null
+++ b/layout/reftests/css-disabled/input/input-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">
+ <input class="ref">
+ </fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/input/input-fieldset-legend-ref-5.html b/layout/reftests/css-disabled/input/input-fieldset-legend-ref-5.html
new file mode 100644
index 000000000..fc2c01f00
--- /dev/null
+++ b/layout/reftests/css-disabled/input/input-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>
+ <input class="ref">
+ </legend>
+ </fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/input/input-fieldset-ref.html b/layout/reftests/css-disabled/input/input-fieldset-ref.html
new file mode 100644
index 000000000..0108ffc32
--- /dev/null
+++ b/layout/reftests/css-disabled/input/input-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">
+ <input class="ref">
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/input/reftest-stylo.list b/layout/reftests/css-disabled/input/reftest-stylo.list
new file mode 100644
index 000000000..1098da7ea
--- /dev/null
+++ b/layout/reftests/css-disabled/input/reftest-stylo.list
@@ -0,0 +1,10 @@
+# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
+== input-fieldset-1.html input-fieldset-1.html
+fuzzy-if(skiaContent,1,7) == input-fieldset-2.html input-fieldset-2.html
+fuzzy-if(skiaContent,1,7) == input-fieldset-3.html input-fieldset-3.html
+fails fuzzy-if(skiaContent,1,7) == input-fieldset-4.html input-fieldset-4.html
+== input-fieldset-legend-1.html input-fieldset-legend-1.html
+== input-fieldset-legend-2.html input-fieldset-legend-2.html
+== input-fieldset-legend-3.html input-fieldset-legend-3.html
+== input-fieldset-legend-4.html input-fieldset-legend-4.html
+== input-fieldset-legend-5.html input-fieldset-legend-5.html
diff --git a/layout/reftests/css-disabled/input/reftest.list b/layout/reftests/css-disabled/input/reftest.list
new file mode 100644
index 000000000..e745701c4
--- /dev/null
+++ b/layout/reftests/css-disabled/input/reftest.list
@@ -0,0 +1,9 @@
+== input-fieldset-1.html input-fieldset-ref.html
+fuzzy-if(skiaContent,1,7) == input-fieldset-2.html input-fieldset-ref.html
+fuzzy-if(skiaContent,1,7) == input-fieldset-3.html input-fieldset-ref.html
+fuzzy-if(skiaContent,1,7) == input-fieldset-4.html input-fieldset-ref.html
+== input-fieldset-legend-1.html input-fieldset-legend-ref-1.html
+== input-fieldset-legend-2.html input-fieldset-legend-ref-2.html
+== input-fieldset-legend-3.html input-fieldset-legend-ref-3.html
+== input-fieldset-legend-4.html input-fieldset-legend-ref-4.html
+== input-fieldset-legend-5.html input-fieldset-legend-ref-5.html
diff --git a/layout/reftests/css-disabled/input/style.css b/layout/reftests/css-disabled/input/style.css
new file mode 100644
index 000000000..7e476eb82
--- /dev/null
+++ b/layout/reftests/css-disabled/input/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;
+}