summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-disabled/fieldset
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/fieldset
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/fieldset')
-rw-r--r--layout/reftests/css-disabled/fieldset/fieldset-disabled.html7
-rw-r--r--layout/reftests/css-disabled/fieldset/fieldset-enabled.html7
-rw-r--r--layout/reftests/css-disabled/fieldset/fieldset-fieldset-1.html11
-rw-r--r--layout/reftests/css-disabled/fieldset/fieldset-fieldset-2.html11
-rw-r--r--layout/reftests/css-disabled/fieldset/fieldset-fieldset-3.html20
-rw-r--r--layout/reftests/css-disabled/fieldset/fieldset-fieldset-4.html19
-rw-r--r--layout/reftests/css-disabled/fieldset/fieldset-fieldset-ref.html11
-rw-r--r--layout/reftests/css-disabled/fieldset/fieldset-legend-1.html11
-rw-r--r--layout/reftests/css-disabled/fieldset/fieldset-legend-2.html13
-rw-r--r--layout/reftests/css-disabled/fieldset/fieldset-legend-3.html13
-rw-r--r--layout/reftests/css-disabled/fieldset/fieldset-legend-4.html13
-rw-r--r--layout/reftests/css-disabled/fieldset/fieldset-legend-5.html15
-rw-r--r--layout/reftests/css-disabled/fieldset/fieldset-legend-ref-1.html11
-rw-r--r--layout/reftests/css-disabled/fieldset/fieldset-legend-ref-2.html13
-rw-r--r--layout/reftests/css-disabled/fieldset/fieldset-legend-ref-3.html13
-rw-r--r--layout/reftests/css-disabled/fieldset/fieldset-legend-ref-4.html13
-rw-r--r--layout/reftests/css-disabled/fieldset/fieldset-legend-ref-5.html15
-rw-r--r--layout/reftests/css-disabled/fieldset/fieldset-ref.html7
-rw-r--r--layout/reftests/css-disabled/fieldset/reftest-stylo.list12
-rw-r--r--layout/reftests/css-disabled/fieldset/reftest.list11
-rw-r--r--layout/reftests/css-disabled/fieldset/style.css19
21 files changed, 265 insertions, 0 deletions
diff --git a/layout/reftests/css-disabled/fieldset/fieldset-disabled.html b/layout/reftests/css-disabled/fieldset/fieldset-disabled.html
new file mode 100644
index 000000000..6cd4fbfea
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/fieldset-disabled.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset class="disabled" disabled></fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/fieldset/fieldset-enabled.html b/layout/reftests/css-disabled/fieldset/fieldset-enabled.html
new file mode 100644
index 000000000..32915278e
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/fieldset-enabled.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset class="enabled"></fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/fieldset/fieldset-fieldset-1.html b/layout/reftests/css-disabled/fieldset/fieldset-fieldset-1.html
new file mode 100644
index 000000000..9b1ae9f11
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/fieldset-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">
+ <fieldset class="enabled"></fieldset>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/fieldset/fieldset-fieldset-2.html b/layout/reftests/css-disabled/fieldset/fieldset-fieldset-2.html
new file mode 100644
index 000000000..01176a31e
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/fieldset-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">
+ <fieldset class="disabled"></fieldset>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/fieldset/fieldset-fieldset-3.html b/layout/reftests/css-disabled/fieldset/fieldset-fieldset-3.html
new file mode 100644
index 000000000..4c0933546
--- /dev/null
+++ b/layout/reftests/css-disabled/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>
diff --git a/layout/reftests/css-disabled/fieldset/fieldset-fieldset-4.html b/layout/reftests/css-disabled/fieldset/fieldset-fieldset-4.html
new file mode 100644
index 000000000..e65581296
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/fieldset-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">
+ <fieldset class="enabled"></fieldset>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/fieldset/fieldset-fieldset-ref.html b/layout/reftests/css-disabled/fieldset/fieldset-fieldset-ref.html
new file mode 100644
index 000000000..ade7fc477
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/fieldset-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">
+ <fieldset class="ref"></fieldset>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/fieldset/fieldset-legend-1.html b/layout/reftests/css-disabled/fieldset/fieldset-legend-1.html
new file mode 100644
index 000000000..04781eb60
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/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'>
+ <fieldset class="enabled"></fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/fieldset/fieldset-legend-2.html b/layout/reftests/css-disabled/fieldset/fieldset-legend-2.html
new file mode 100644
index 000000000..e201ee166
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/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>
+ <fieldset class="disabled"></fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/fieldset/fieldset-legend-3.html b/layout/reftests/css-disabled/fieldset/fieldset-legend-3.html
new file mode 100644
index 000000000..d9ca78dc3
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/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>
+ <fieldset class="disabled"></fieldset>
+ </legend>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/fieldset/fieldset-legend-4.html b/layout/reftests/css-disabled/fieldset/fieldset-legend-4.html
new file mode 100644
index 000000000..67c728ef1
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/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">
+ <fieldset class="enabled"></fieldset>
+ </fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/fieldset/fieldset-legend-5.html b/layout/reftests/css-disabled/fieldset/fieldset-legend-5.html
new file mode 100644
index 000000000..c3f82ae2a
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/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>
+ <fieldset class="enabled"></fieldset>
+ </legend>
+ </fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/fieldset/fieldset-legend-ref-1.html b/layout/reftests/css-disabled/fieldset/fieldset-legend-ref-1.html
new file mode 100644
index 000000000..83f1925ad
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/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>
+ <fieldset class="ref"></fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/fieldset/fieldset-legend-ref-2.html b/layout/reftests/css-disabled/fieldset/fieldset-legend-ref-2.html
new file mode 100644
index 000000000..33fe2455c
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/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>
+ <fieldset class="ref"></fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/fieldset/fieldset-legend-ref-3.html b/layout/reftests/css-disabled/fieldset/fieldset-legend-ref-3.html
new file mode 100644
index 000000000..7aaff27f1
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/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>
+ <fieldset class="ref"></fieldset>
+ </legend>
+ </fieldset>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/fieldset/fieldset-legend-ref-4.html b/layout/reftests/css-disabled/fieldset/fieldset-legend-ref-4.html
new file mode 100644
index 000000000..9f1a267a6
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/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">
+ <fieldset class="ref"></fieldset>
+ </fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/fieldset/fieldset-legend-ref-5.html b/layout/reftests/css-disabled/fieldset/fieldset-legend-ref-5.html
new file mode 100644
index 000000000..00df3f834
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/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>
+ <fieldset class="ref"></fieldset>
+ </legend>
+ </fieldset>
+ </legend>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/fieldset/fieldset-ref.html b/layout/reftests/css-disabled/fieldset/fieldset-ref.html
new file mode 100644
index 000000000..7f66bc698
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/fieldset-ref.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset class='ref'></fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-disabled/fieldset/reftest-stylo.list b/layout/reftests/css-disabled/fieldset/reftest-stylo.list
new file mode 100644
index 000000000..ce458358f
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/reftest-stylo.list
@@ -0,0 +1,12 @@
+# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
+== fieldset-enabled.html fieldset-enabled.html
+fuzzy-if(skiaContent,2,5) == fieldset-disabled.html fieldset-disabled.html
+== fieldset-fieldset-1.html fieldset-fieldset-1.html
+fuzzy-if(skiaContent,1,11) == fieldset-fieldset-2.html fieldset-fieldset-2.html
+fuzzy-if(skiaContent,1,11) == fieldset-fieldset-3.html fieldset-fieldset-3.html
+fails fuzzy-if(skiaContent,1,11) == fieldset-fieldset-4.html fieldset-fieldset-4.html
+== fieldset-legend-1.html fieldset-legend-1.html
+== fieldset-legend-2.html fieldset-legend-2.html
+== fieldset-legend-3.html fieldset-legend-3.html
+== fieldset-legend-4.html fieldset-legend-4.html
+== fieldset-legend-5.html fieldset-legend-5.html
diff --git a/layout/reftests/css-disabled/fieldset/reftest.list b/layout/reftests/css-disabled/fieldset/reftest.list
new file mode 100644
index 000000000..81a995e17
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/reftest.list
@@ -0,0 +1,11 @@
+== fieldset-enabled.html fieldset-ref.html
+fuzzy-if(skiaContent,2,5) == fieldset-disabled.html fieldset-ref.html
+== fieldset-fieldset-1.html fieldset-fieldset-ref.html
+fuzzy-if(skiaContent,1,11) == fieldset-fieldset-2.html fieldset-fieldset-ref.html
+fuzzy-if(skiaContent,1,11) == fieldset-fieldset-3.html fieldset-fieldset-ref.html
+fuzzy-if(skiaContent,1,11) == fieldset-fieldset-4.html fieldset-fieldset-ref.html
+== fieldset-legend-1.html fieldset-legend-ref-1.html
+== fieldset-legend-2.html fieldset-legend-ref-2.html
+== fieldset-legend-3.html fieldset-legend-ref-3.html
+== fieldset-legend-4.html fieldset-legend-ref-4.html
+== fieldset-legend-5.html fieldset-legend-ref-5.html
diff --git a/layout/reftests/css-disabled/fieldset/style.css b/layout/reftests/css-disabled/fieldset/style.css
new file mode 100644
index 000000000..7e476eb82
--- /dev/null
+++ b/layout/reftests/css-disabled/fieldset/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;
+}