summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-enabled/textarea
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-enabled/textarea
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-enabled/textarea')
-rw-r--r--layout/reftests/css-enabled/textarea/reftest-stylo.list10
-rw-r--r--layout/reftests/css-enabled/textarea/reftest.list9
-rw-r--r--layout/reftests/css-enabled/textarea/style.css19
-rw-r--r--layout/reftests/css-enabled/textarea/textarea-fieldset-1.html11
-rw-r--r--layout/reftests/css-enabled/textarea/textarea-fieldset-2.html11
-rw-r--r--layout/reftests/css-enabled/textarea/textarea-fieldset-3.html20
-rw-r--r--layout/reftests/css-enabled/textarea/textarea-fieldset-4.html19
-rw-r--r--layout/reftests/css-enabled/textarea/textarea-fieldset-legend-1.html11
-rw-r--r--layout/reftests/css-enabled/textarea/textarea-fieldset-legend-2.html13
-rw-r--r--layout/reftests/css-enabled/textarea/textarea-fieldset-legend-3.html13
-rw-r--r--layout/reftests/css-enabled/textarea/textarea-fieldset-legend-4.html13
-rw-r--r--layout/reftests/css-enabled/textarea/textarea-fieldset-legend-5.html15
-rw-r--r--layout/reftests/css-enabled/textarea/textarea-fieldset-legend-ref-1.html11
-rw-r--r--layout/reftests/css-enabled/textarea/textarea-fieldset-legend-ref-2.html13
-rw-r--r--layout/reftests/css-enabled/textarea/textarea-fieldset-legend-ref-3.html13
-rw-r--r--layout/reftests/css-enabled/textarea/textarea-fieldset-legend-ref-4.html13
-rw-r--r--layout/reftests/css-enabled/textarea/textarea-fieldset-legend-ref-5.html15
-rw-r--r--layout/reftests/css-enabled/textarea/textarea-fieldset-ref.html11
18 files changed, 240 insertions, 0 deletions
diff --git a/layout/reftests/css-enabled/textarea/reftest-stylo.list b/layout/reftests/css-enabled/textarea/reftest-stylo.list
new file mode 100644
index 000000000..9a65675f5
--- /dev/null
+++ b/layout/reftests/css-enabled/textarea/reftest-stylo.list
@@ -0,0 +1,10 @@
+# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
+fuzzy-if(skiaContent,1,5) == textarea-fieldset-1.html textarea-fieldset-1.html
+fuzzy-if(skiaContent,1,5) == textarea-fieldset-2.html textarea-fieldset-2.html
+== textarea-fieldset-3.html textarea-fieldset-3.html
+== textarea-fieldset-4.html textarea-fieldset-4.html
+fuzzy-if(skiaContent,1,5) == textarea-fieldset-legend-1.html textarea-fieldset-legend-1.html
+fuzzy-if(skiaContent,1,5) == textarea-fieldset-legend-2.html textarea-fieldset-legend-2.html
+fuzzy-if(skiaContent,1,5) == textarea-fieldset-legend-3.html textarea-fieldset-legend-3.html
+fuzzy-if(skiaContent,1,5) == textarea-fieldset-legend-4.html textarea-fieldset-legend-4.html
+fuzzy-if(skiaContent,1,10) == textarea-fieldset-legend-5.html textarea-fieldset-legend-5.html
diff --git a/layout/reftests/css-enabled/textarea/reftest.list b/layout/reftests/css-enabled/textarea/reftest.list
new file mode 100644
index 000000000..a085ea43e
--- /dev/null
+++ b/layout/reftests/css-enabled/textarea/reftest.list
@@ -0,0 +1,9 @@
+fuzzy-if(skiaContent,1,5) == textarea-fieldset-1.html textarea-fieldset-ref.html
+fuzzy-if(skiaContent,1,5) == textarea-fieldset-2.html textarea-fieldset-ref.html
+== textarea-fieldset-3.html textarea-fieldset-ref.html
+== textarea-fieldset-4.html textarea-fieldset-ref.html
+fuzzy-if(skiaContent,1,5) == textarea-fieldset-legend-1.html textarea-fieldset-legend-ref-1.html
+fuzzy-if(skiaContent,1,5) == textarea-fieldset-legend-2.html textarea-fieldset-legend-ref-2.html
+fuzzy-if(skiaContent,1,5) == textarea-fieldset-legend-3.html textarea-fieldset-legend-ref-3.html
+fuzzy-if(skiaContent,1,5) == textarea-fieldset-legend-4.html textarea-fieldset-legend-ref-4.html
+fuzzy-if(skiaContent,1,10) == textarea-fieldset-legend-5.html textarea-fieldset-legend-ref-5.html
diff --git a/layout/reftests/css-enabled/textarea/style.css b/layout/reftests/css-enabled/textarea/style.css
new file mode 100644
index 000000000..3846239d0
--- /dev/null
+++ b/layout/reftests/css-enabled/textarea/style.css
@@ -0,0 +1,19 @@
+.ref {
+ background-color: green;
+}
+
+.enabled {
+ background-color: red;
+}
+
+:enabled.enabled {
+ background-color: green;
+}
+
+.disabled {
+ background-color: green;
+}
+
+:enabled.disabled {
+ background-color: red;
+}
diff --git a/layout/reftests/css-enabled/textarea/textarea-fieldset-1.html b/layout/reftests/css-enabled/textarea/textarea-fieldset-1.html
new file mode 100644
index 000000000..6c040b67e
--- /dev/null
+++ b/layout/reftests/css-enabled/textarea/textarea-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">
+ <textarea class="enabled"></textarea>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-enabled/textarea/textarea-fieldset-2.html b/layout/reftests/css-enabled/textarea/textarea-fieldset-2.html
new file mode 100644
index 000000000..6c22f2c17
--- /dev/null
+++ b/layout/reftests/css-enabled/textarea/textarea-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">
+ <textarea class="disabled"></textarea>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-enabled/textarea/textarea-fieldset-3.html b/layout/reftests/css-enabled/textarea/textarea-fieldset-3.html
new file mode 100644
index 000000000..82172c45f
--- /dev/null
+++ b/layout/reftests/css-enabled/textarea/textarea-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">
+ <textarea class="disabled"></textarea>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-enabled/textarea/textarea-fieldset-4.html b/layout/reftests/css-enabled/textarea/textarea-fieldset-4.html
new file mode 100644
index 000000000..a4ba7a100
--- /dev/null
+++ b/layout/reftests/css-enabled/textarea/textarea-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">
+ <textarea class="enabled"></textarea>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-1.html b/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-1.html
new file mode 100644
index 000000000..5ab543a86
--- /dev/null
+++ b/layout/reftests/css-enabled/textarea/textarea-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'>
+ <textarea class="enabled"></textarea>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-2.html b/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-2.html
new file mode 100644
index 000000000..3385d534b
--- /dev/null
+++ b/layout/reftests/css-enabled/textarea/textarea-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>
+ <textarea class="disabled"></textarea>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-3.html b/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-3.html
new file mode 100644
index 000000000..d3c94ee5d
--- /dev/null
+++ b/layout/reftests/css-enabled/textarea/textarea-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>
+ <textarea class="disabled"></textarea>
+ </legend>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-4.html b/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-4.html
new file mode 100644
index 000000000..8d04971bd
--- /dev/null
+++ b/layout/reftests/css-enabled/textarea/textarea-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">
+ <textarea class="enabled"></textarea>
+ </fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-5.html b/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-5.html
new file mode 100644
index 000000000..856023ad9
--- /dev/null
+++ b/layout/reftests/css-enabled/textarea/textarea-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>
+ <textarea class="enabled"></textarea>
+ </legend>
+ </fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-ref-1.html b/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-ref-1.html
new file mode 100644
index 000000000..d3824560d
--- /dev/null
+++ b/layout/reftests/css-enabled/textarea/textarea-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>
+ <textarea class="ref"></textarea>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-ref-2.html b/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-ref-2.html
new file mode 100644
index 000000000..f508a5d30
--- /dev/null
+++ b/layout/reftests/css-enabled/textarea/textarea-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>
+ <textarea class="ref"></textarea>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-ref-3.html b/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-ref-3.html
new file mode 100644
index 000000000..799c2b876
--- /dev/null
+++ b/layout/reftests/css-enabled/textarea/textarea-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>
+ <textarea class="ref"></textarea>
+ </legend>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-ref-4.html b/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-ref-4.html
new file mode 100644
index 000000000..83ee46e60
--- /dev/null
+++ b/layout/reftests/css-enabled/textarea/textarea-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">
+ <textarea class="ref"></textarea>
+ </fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-ref-5.html b/layout/reftests/css-enabled/textarea/textarea-fieldset-legend-ref-5.html
new file mode 100644
index 000000000..dd63a89a2
--- /dev/null
+++ b/layout/reftests/css-enabled/textarea/textarea-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>
+ <textarea class="ref"></textarea>
+ </legend>
+ </fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-enabled/textarea/textarea-fieldset-ref.html b/layout/reftests/css-enabled/textarea/textarea-fieldset-ref.html
new file mode 100644
index 000000000..1cc1d344d
--- /dev/null
+++ b/layout/reftests/css-enabled/textarea/textarea-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">
+ <textarea class="ref"></textarea>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>