summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-enabled/select
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/select
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/select')
-rw-r--r--layout/reftests/css-enabled/select/reftest-stylo.list14
-rw-r--r--layout/reftests/css-enabled/select/reftest.list9
-rw-r--r--layout/reftests/css-enabled/select/select-fieldset-1.html11
-rw-r--r--layout/reftests/css-enabled/select/select-fieldset-2.html11
-rw-r--r--layout/reftests/css-enabled/select/select-fieldset-3.html20
-rw-r--r--layout/reftests/css-enabled/select/select-fieldset-4.html19
-rw-r--r--layout/reftests/css-enabled/select/select-fieldset-legend-1.html11
-rw-r--r--layout/reftests/css-enabled/select/select-fieldset-legend-2.html13
-rw-r--r--layout/reftests/css-enabled/select/select-fieldset-legend-3.html13
-rw-r--r--layout/reftests/css-enabled/select/select-fieldset-legend-4.html13
-rw-r--r--layout/reftests/css-enabled/select/select-fieldset-legend-5.html15
-rw-r--r--layout/reftests/css-enabled/select/select-fieldset-legend-ref-1.html11
-rw-r--r--layout/reftests/css-enabled/select/select-fieldset-legend-ref-2.html13
-rw-r--r--layout/reftests/css-enabled/select/select-fieldset-legend-ref-3.html13
-rw-r--r--layout/reftests/css-enabled/select/select-fieldset-legend-ref-4.html13
-rw-r--r--layout/reftests/css-enabled/select/select-fieldset-legend-ref-5.html15
-rw-r--r--layout/reftests/css-enabled/select/select-fieldset-ref-disabled.html11
-rw-r--r--layout/reftests/css-enabled/select/select-fieldset-ref.html11
-rw-r--r--layout/reftests/css-enabled/select/style.css23
19 files changed, 259 insertions, 0 deletions
diff --git a/layout/reftests/css-enabled/select/reftest-stylo.list b/layout/reftests/css-enabled/select/reftest-stylo.list
new file mode 100644
index 000000000..67824bf0a
--- /dev/null
+++ b/layout/reftests/css-enabled/select/reftest-stylo.list
@@ -0,0 +1,14 @@
+# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
+== select-fieldset-1.html select-fieldset-1.html
+fails-if(B2G||Mulet) fuzzy-if(skiaContent,1,9) == select-fieldset-2.html select-fieldset-2.html
+# Initial mulet triage: parity with B2G/B2G Desktop
+fails-if(B2G||Mulet) == select-fieldset-3.html select-fieldset-3.html
+# Initial mulet triage: parity with B2G/B2G Desktop
+fails fuzzy-if(skiaContent,1,9) == select-fieldset-4.html select-fieldset-4.html
+== select-fieldset-legend-1.html select-fieldset-legend-1.html
+fails-if(B2G||Mulet) fuzzy-if(skiaContent,2,4) == select-fieldset-legend-2.html select-fieldset-legend-2.html
+# Initial mulet triage: parity with B2G/B2G Desktop
+fails-if(B2G||Mulet) fuzzy-if(skiaContent,2,5) == select-fieldset-legend-3.html select-fieldset-legend-3.html
+# Initial mulet triage: parity with B2G/B2G Desktop
+fuzzy-if(skiaContent,2,9) == select-fieldset-legend-4.html select-fieldset-legend-4.html
+fuzzy-if(skiaContent,2,5) == select-fieldset-legend-5.html select-fieldset-legend-5.html
diff --git a/layout/reftests/css-enabled/select/reftest.list b/layout/reftests/css-enabled/select/reftest.list
new file mode 100644
index 000000000..7b8abfe01
--- /dev/null
+++ b/layout/reftests/css-enabled/select/reftest.list
@@ -0,0 +1,9 @@
+== select-fieldset-1.html select-fieldset-ref.html
+fuzzy-if(skiaContent,1,9) == select-fieldset-2.html select-fieldset-ref-disabled.html
+== select-fieldset-3.html select-fieldset-ref-disabled.html
+fuzzy-if(skiaContent,1,9) == select-fieldset-4.html select-fieldset-ref.html
+== select-fieldset-legend-1.html select-fieldset-legend-ref-1.html
+fuzzy-if(skiaContent,2,4) == select-fieldset-legend-2.html select-fieldset-legend-ref-2.html
+fuzzy-if(skiaContent,2,5) == select-fieldset-legend-3.html select-fieldset-legend-ref-3.html
+fuzzy-if(skiaContent,2,9) == select-fieldset-legend-4.html select-fieldset-legend-ref-4.html
+fuzzy-if(skiaContent,2,5) == select-fieldset-legend-5.html select-fieldset-legend-ref-5.html
diff --git a/layout/reftests/css-enabled/select/select-fieldset-1.html b/layout/reftests/css-enabled/select/select-fieldset-1.html
new file mode 100644
index 000000000..84874986f
--- /dev/null
+++ b/layout/reftests/css-enabled/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-enabled/select/select-fieldset-2.html b/layout/reftests/css-enabled/select/select-fieldset-2.html
new file mode 100644
index 000000000..4e34c7fef
--- /dev/null
+++ b/layout/reftests/css-enabled/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-enabled/select/select-fieldset-3.html b/layout/reftests/css-enabled/select/select-fieldset-3.html
new file mode 100644
index 000000000..c30347271
--- /dev/null
+++ b/layout/reftests/css-enabled/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-enabled/select/select-fieldset-4.html b/layout/reftests/css-enabled/select/select-fieldset-4.html
new file mode 100644
index 000000000..b168a2193
--- /dev/null
+++ b/layout/reftests/css-enabled/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-enabled/select/select-fieldset-legend-1.html b/layout/reftests/css-enabled/select/select-fieldset-legend-1.html
new file mode 100644
index 000000000..944303b88
--- /dev/null
+++ b/layout/reftests/css-enabled/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-enabled/select/select-fieldset-legend-2.html b/layout/reftests/css-enabled/select/select-fieldset-legend-2.html
new file mode 100644
index 000000000..7a3507be2
--- /dev/null
+++ b/layout/reftests/css-enabled/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-enabled/select/select-fieldset-legend-3.html b/layout/reftests/css-enabled/select/select-fieldset-legend-3.html
new file mode 100644
index 000000000..29a98a88a
--- /dev/null
+++ b/layout/reftests/css-enabled/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-enabled/select/select-fieldset-legend-4.html b/layout/reftests/css-enabled/select/select-fieldset-legend-4.html
new file mode 100644
index 000000000..4cbc3ca85
--- /dev/null
+++ b/layout/reftests/css-enabled/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-enabled/select/select-fieldset-legend-5.html b/layout/reftests/css-enabled/select/select-fieldset-legend-5.html
new file mode 100644
index 000000000..0218b9548
--- /dev/null
+++ b/layout/reftests/css-enabled/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-enabled/select/select-fieldset-legend-ref-1.html b/layout/reftests/css-enabled/select/select-fieldset-legend-ref-1.html
new file mode 100644
index 000000000..57c42ddc2
--- /dev/null
+++ b/layout/reftests/css-enabled/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-enabled/select/select-fieldset-legend-ref-2.html b/layout/reftests/css-enabled/select/select-fieldset-legend-ref-2.html
new file mode 100644
index 000000000..d21ba476e
--- /dev/null
+++ b/layout/reftests/css-enabled/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-enabled/select/select-fieldset-legend-ref-3.html b/layout/reftests/css-enabled/select/select-fieldset-legend-ref-3.html
new file mode 100644
index 000000000..d4b147fa1
--- /dev/null
+++ b/layout/reftests/css-enabled/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-enabled/select/select-fieldset-legend-ref-4.html b/layout/reftests/css-enabled/select/select-fieldset-legend-ref-4.html
new file mode 100644
index 000000000..55df97e20
--- /dev/null
+++ b/layout/reftests/css-enabled/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-enabled/select/select-fieldset-legend-ref-5.html b/layout/reftests/css-enabled/select/select-fieldset-legend-ref-5.html
new file mode 100644
index 000000000..1c3275c90
--- /dev/null
+++ b/layout/reftests/css-enabled/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-enabled/select/select-fieldset-ref-disabled.html b/layout/reftests/css-enabled/select/select-fieldset-ref-disabled.html
new file mode 100644
index 000000000..273223696
--- /dev/null
+++ b/layout/reftests/css-enabled/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-enabled/select/select-fieldset-ref.html b/layout/reftests/css-enabled/select/select-fieldset-ref.html
new file mode 100644
index 000000000..e85e16f6b
--- /dev/null
+++ b/layout/reftests/css-enabled/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-enabled/select/style.css b/layout/reftests/css-enabled/select/style.css
new file mode 100644
index 000000000..b79686e37
--- /dev/null
+++ b/layout/reftests/css-enabled/select/style.css
@@ -0,0 +1,23 @@
+select {
+ -moz-appearance: none;
+}
+
+.ref {
+ background-color: green;
+}
+
+.enabled {
+ background-color: red;
+}
+
+:enabled.enabled {
+ background-color: green;
+}
+
+.disabled {
+ background-color: green;
+}
+
+:enabled.disabled {
+ background-color: red;
+}