summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-enabled/optgroup
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/optgroup
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/optgroup')
-rw-r--r--layout/reftests/css-enabled/optgroup/optgroup-fieldset-1.html9
-rw-r--r--layout/reftests/css-enabled/optgroup/optgroup-fieldset-ref.html9
-rw-r--r--layout/reftests/css-enabled/optgroup/reftest-stylo.list2
-rw-r--r--layout/reftests/css-enabled/optgroup/reftest.list1
-rw-r--r--layout/reftests/css-enabled/optgroup/style.css19
5 files changed, 40 insertions, 0 deletions
diff --git a/layout/reftests/css-enabled/optgroup/optgroup-fieldset-1.html b/layout/reftests/css-enabled/optgroup/optgroup-fieldset-1.html
new file mode 100644
index 000000000..0b7ee5a76
--- /dev/null
+++ b/layout/reftests/css-enabled/optgroup/optgroup-fieldset-1.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset disabled class="disabled">
+ <optgroup class="enabled">foo</optgroup>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-enabled/optgroup/optgroup-fieldset-ref.html b/layout/reftests/css-enabled/optgroup/optgroup-fieldset-ref.html
new file mode 100644
index 000000000..c8fde1c2b
--- /dev/null
+++ b/layout/reftests/css-enabled/optgroup/optgroup-fieldset-ref.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <fieldset class="ref">
+ <optgroup class="ref">foo</optgroup>
+ </fieldset>
+ </body>
+</html>
diff --git a/layout/reftests/css-enabled/optgroup/reftest-stylo.list b/layout/reftests/css-enabled/optgroup/reftest-stylo.list
new file mode 100644
index 000000000..49d455343
--- /dev/null
+++ b/layout/reftests/css-enabled/optgroup/reftest-stylo.list
@@ -0,0 +1,2 @@
+# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
+fuzzy-if(skiaContent,1,2) == optgroup-fieldset-1.html optgroup-fieldset-1.html
diff --git a/layout/reftests/css-enabled/optgroup/reftest.list b/layout/reftests/css-enabled/optgroup/reftest.list
new file mode 100644
index 000000000..75c53da48
--- /dev/null
+++ b/layout/reftests/css-enabled/optgroup/reftest.list
@@ -0,0 +1 @@
+fuzzy-if(skiaContent,1,2) == optgroup-fieldset-1.html optgroup-fieldset-ref.html
diff --git a/layout/reftests/css-enabled/optgroup/style.css b/layout/reftests/css-enabled/optgroup/style.css
new file mode 100644
index 000000000..3846239d0
--- /dev/null
+++ b/layout/reftests/css-enabled/optgroup/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;
+}