diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /layout/reftests/css-disabled/select | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-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/select')
19 files changed, 255 insertions, 0 deletions
diff --git a/layout/reftests/css-disabled/select/reftest-stylo.list b/layout/reftests/css-disabled/select/reftest-stylo.list new file mode 100644 index 000000000..b9b5740c7 --- /dev/null +++ b/layout/reftests/css-disabled/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(Android||B2G||Mulet) fuzzy-if(skiaContent,2,17) == select-fieldset-2.html select-fieldset-2.html +# Initial mulet triage: parity with B2G/B2G Desktop +fails-if(Android||B2G||Mulet) fuzzy-if(skiaContent,2,17) == select-fieldset-3.html select-fieldset-3.html +# Initial mulet triage: parity with B2G/B2G Desktop +fails-if(Android) fuzzy-if(skiaContent,2,13) == select-fieldset-4.html select-fieldset-4.html +== select-fieldset-legend-1.html select-fieldset-legend-1.html +fails-if(Android||B2G||Mulet) fuzzy-if(skiaContent,2,6) == select-fieldset-legend-2.html select-fieldset-legend-2.html +# Initial mulet triage: parity with B2G/B2G Desktop +fails-if(Android||B2G||Mulet) fuzzy-if(skiaContent,2,8) == select-fieldset-legend-3.html select-fieldset-legend-3.html +# Initial mulet triage: parity with B2G/B2G Desktop +fuzzy-if(skiaContent,2,12) == 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-disabled/select/reftest.list b/layout/reftests/css-disabled/select/reftest.list new file mode 100644 index 000000000..700f06471 --- /dev/null +++ b/layout/reftests/css-disabled/select/reftest.list @@ -0,0 +1,9 @@ +fuzzy-if(Android,12,1) == select-fieldset-1.html select-fieldset-ref.html +fails-if(Android) fuzzy-if(skiaContent&&!Android,2,17) == select-fieldset-2.html select-fieldset-ref-disabled.html +fails-if(Android) fuzzy-if(skiaContent&&!Android,2,17) == select-fieldset-3.html select-fieldset-ref-disabled.html +fails-if(Android) fuzzy-if(skiaContent&&!Android,2,13) == select-fieldset-4.html select-fieldset-ref.html +== select-fieldset-legend-1.html select-fieldset-legend-ref-1.html +fails-if(Android) fuzzy-if(skiaContent&&!Android,2,6) == select-fieldset-legend-2.html select-fieldset-legend-ref-2.html +fails-if(Android) fuzzy-if(skiaContent&&!Android,2,8) == select-fieldset-legend-3.html select-fieldset-legend-ref-3.html +fuzzy-if(skiaContent,2,12) == 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-disabled/select/select-fieldset-1.html b/layout/reftests/css-disabled/select/select-fieldset-1.html new file mode 100644 index 000000000..84874986f --- /dev/null +++ b/layout/reftests/css-disabled/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-disabled/select/select-fieldset-2.html b/layout/reftests/css-disabled/select/select-fieldset-2.html new file mode 100644 index 000000000..4e34c7fef --- /dev/null +++ b/layout/reftests/css-disabled/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-disabled/select/select-fieldset-3.html b/layout/reftests/css-disabled/select/select-fieldset-3.html new file mode 100644 index 000000000..c30347271 --- /dev/null +++ b/layout/reftests/css-disabled/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-disabled/select/select-fieldset-4.html b/layout/reftests/css-disabled/select/select-fieldset-4.html new file mode 100644 index 000000000..b168a2193 --- /dev/null +++ b/layout/reftests/css-disabled/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-disabled/select/select-fieldset-legend-1.html b/layout/reftests/css-disabled/select/select-fieldset-legend-1.html new file mode 100644 index 000000000..944303b88 --- /dev/null +++ b/layout/reftests/css-disabled/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-disabled/select/select-fieldset-legend-2.html b/layout/reftests/css-disabled/select/select-fieldset-legend-2.html new file mode 100644 index 000000000..7a3507be2 --- /dev/null +++ b/layout/reftests/css-disabled/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-disabled/select/select-fieldset-legend-3.html b/layout/reftests/css-disabled/select/select-fieldset-legend-3.html new file mode 100644 index 000000000..29a98a88a --- /dev/null +++ b/layout/reftests/css-disabled/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-disabled/select/select-fieldset-legend-4.html b/layout/reftests/css-disabled/select/select-fieldset-legend-4.html new file mode 100644 index 000000000..4cbc3ca85 --- /dev/null +++ b/layout/reftests/css-disabled/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-disabled/select/select-fieldset-legend-5.html b/layout/reftests/css-disabled/select/select-fieldset-legend-5.html new file mode 100644 index 000000000..0218b9548 --- /dev/null +++ b/layout/reftests/css-disabled/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-disabled/select/select-fieldset-legend-ref-1.html b/layout/reftests/css-disabled/select/select-fieldset-legend-ref-1.html new file mode 100644 index 000000000..57c42ddc2 --- /dev/null +++ b/layout/reftests/css-disabled/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-disabled/select/select-fieldset-legend-ref-2.html b/layout/reftests/css-disabled/select/select-fieldset-legend-ref-2.html new file mode 100644 index 000000000..d21ba476e --- /dev/null +++ b/layout/reftests/css-disabled/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-disabled/select/select-fieldset-legend-ref-3.html b/layout/reftests/css-disabled/select/select-fieldset-legend-ref-3.html new file mode 100644 index 000000000..d4b147fa1 --- /dev/null +++ b/layout/reftests/css-disabled/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-disabled/select/select-fieldset-legend-ref-4.html b/layout/reftests/css-disabled/select/select-fieldset-legend-ref-4.html new file mode 100644 index 000000000..55df97e20 --- /dev/null +++ b/layout/reftests/css-disabled/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-disabled/select/select-fieldset-legend-ref-5.html b/layout/reftests/css-disabled/select/select-fieldset-legend-ref-5.html new file mode 100644 index 000000000..1c3275c90 --- /dev/null +++ b/layout/reftests/css-disabled/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-disabled/select/select-fieldset-ref-disabled.html b/layout/reftests/css-disabled/select/select-fieldset-ref-disabled.html new file mode 100644 index 000000000..273223696 --- /dev/null +++ b/layout/reftests/css-disabled/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-disabled/select/select-fieldset-ref.html b/layout/reftests/css-disabled/select/select-fieldset-ref.html new file mode 100644 index 000000000..e85e16f6b --- /dev/null +++ b/layout/reftests/css-disabled/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-disabled/select/style.css b/layout/reftests/css-disabled/select/style.css new file mode 100644 index 000000000..7e476eb82 --- /dev/null +++ b/layout/reftests/css-disabled/select/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; +} |