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/button | |
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/button')
18 files changed, 244 insertions, 0 deletions
diff --git a/layout/reftests/css-disabled/button/button-fieldset-1.html b/layout/reftests/css-disabled/button/button-fieldset-1.html new file mode 100644 index 000000000..56c6c2812 --- /dev/null +++ b/layout/reftests/css-disabled/button/button-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"> + <button class="enabled"></button> + </fieldset> + </fieldset> + </body> +</html> diff --git a/layout/reftests/css-disabled/button/button-fieldset-2.html b/layout/reftests/css-disabled/button/button-fieldset-2.html new file mode 100644 index 000000000..e8fff1673 --- /dev/null +++ b/layout/reftests/css-disabled/button/button-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"> + <button class="disabled"></button> + </fieldset> + </fieldset> + </body> +</html> diff --git a/layout/reftests/css-disabled/button/button-fieldset-3.html b/layout/reftests/css-disabled/button/button-fieldset-3.html new file mode 100644 index 000000000..002881d84 --- /dev/null +++ b/layout/reftests/css-disabled/button/button-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"> + <button class="disabled"></button> + </fieldset> + </fieldset> + </body> +</html> diff --git a/layout/reftests/css-disabled/button/button-fieldset-4.html b/layout/reftests/css-disabled/button/button-fieldset-4.html new file mode 100644 index 000000000..ed82a0479 --- /dev/null +++ b/layout/reftests/css-disabled/button/button-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"> + <button class="enabled"></button> + </fieldset> + </fieldset> + </body> +</html> diff --git a/layout/reftests/css-disabled/button/button-fieldset-legend-1.html b/layout/reftests/css-disabled/button/button-fieldset-legend-1.html new file mode 100644 index 000000000..3e9e510ec --- /dev/null +++ b/layout/reftests/css-disabled/button/button-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'> + <button class="enabled"></button> + </legend> + </fieldset> + </body> +</html> diff --git a/layout/reftests/css-disabled/button/button-fieldset-legend-2.html b/layout/reftests/css-disabled/button/button-fieldset-legend-2.html new file mode 100644 index 000000000..b7fe250fa --- /dev/null +++ b/layout/reftests/css-disabled/button/button-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> + <button class="disabled"></button> + </legend> + </fieldset> + </body> +</html> diff --git a/layout/reftests/css-disabled/button/button-fieldset-legend-3.html b/layout/reftests/css-disabled/button/button-fieldset-legend-3.html new file mode 100644 index 000000000..f9127b8d5 --- /dev/null +++ b/layout/reftests/css-disabled/button/button-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> + <button class="disabled"></button> + </legend> + </fieldset> + </fieldset> + </body> +</html> diff --git a/layout/reftests/css-disabled/button/button-fieldset-legend-4.html b/layout/reftests/css-disabled/button/button-fieldset-legend-4.html new file mode 100644 index 000000000..1e8840ded --- /dev/null +++ b/layout/reftests/css-disabled/button/button-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"> + <button class="enabled"></button> + </fieldset> + </legend> + </fieldset> + </body> +</html> diff --git a/layout/reftests/css-disabled/button/button-fieldset-legend-5.html b/layout/reftests/css-disabled/button/button-fieldset-legend-5.html new file mode 100644 index 000000000..29b7a40d6 --- /dev/null +++ b/layout/reftests/css-disabled/button/button-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> + <button class="enabled"></button> + </legend> + </fieldset> + </legend> + </fieldset> + </body> +</html> diff --git a/layout/reftests/css-disabled/button/button-fieldset-legend-ref-1.html b/layout/reftests/css-disabled/button/button-fieldset-legend-ref-1.html new file mode 100644 index 000000000..69c8ff5f2 --- /dev/null +++ b/layout/reftests/css-disabled/button/button-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> + <button class="ref"></button> + </legend> + </fieldset> + </body> +</html> diff --git a/layout/reftests/css-disabled/button/button-fieldset-legend-ref-2.html b/layout/reftests/css-disabled/button/button-fieldset-legend-ref-2.html new file mode 100644 index 000000000..62dec99da --- /dev/null +++ b/layout/reftests/css-disabled/button/button-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> + <button class="ref"></button> + </legend> + </fieldset> + </body> +</html> diff --git a/layout/reftests/css-disabled/button/button-fieldset-legend-ref-3.html b/layout/reftests/css-disabled/button/button-fieldset-legend-ref-3.html new file mode 100644 index 000000000..8807601e0 --- /dev/null +++ b/layout/reftests/css-disabled/button/button-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> + <button class="ref"></button> + </legend> + </fieldset> + </fieldset> + </body> +</html> diff --git a/layout/reftests/css-disabled/button/button-fieldset-legend-ref-4.html b/layout/reftests/css-disabled/button/button-fieldset-legend-ref-4.html new file mode 100644 index 000000000..df92d4480 --- /dev/null +++ b/layout/reftests/css-disabled/button/button-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"> + <button class="ref"></button> + </fieldset> + </legend> + </fieldset> + </body> +</html> diff --git a/layout/reftests/css-disabled/button/button-fieldset-legend-ref-5.html b/layout/reftests/css-disabled/button/button-fieldset-legend-ref-5.html new file mode 100644 index 000000000..7520a19bf --- /dev/null +++ b/layout/reftests/css-disabled/button/button-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> + <button class="ref"></button> + </legend> + </fieldset> + </legend> + </fieldset> + </body> +</html> diff --git a/layout/reftests/css-disabled/button/button-fieldset-ref.html b/layout/reftests/css-disabled/button/button-fieldset-ref.html new file mode 100644 index 000000000..7941c7dde --- /dev/null +++ b/layout/reftests/css-disabled/button/button-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"> + <button class="ref"></button> + </fieldset> + </fieldset> + </body> +</html> diff --git a/layout/reftests/css-disabled/button/reftest-stylo.list b/layout/reftests/css-disabled/button/reftest-stylo.list new file mode 100644 index 000000000..ae9af02ea --- /dev/null +++ b/layout/reftests/css-disabled/button/reftest-stylo.list @@ -0,0 +1,14 @@ +# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing +== button-fieldset-1.html button-fieldset-1.html +fails-if(B2G||Mulet) fuzzy-if(skiaContent,1,7) == button-fieldset-2.html button-fieldset-2.html +# Initial mulet triage: parity with B2G/B2G Desktop +fails-if(B2G||Mulet) fuzzy-if(skiaContent,1,7) == button-fieldset-3.html button-fieldset-3.html +# Initial mulet triage: parity with B2G/B2G Desktop +fails fuzzy-if(skiaContent,1,7) == button-fieldset-4.html button-fieldset-4.html +== button-fieldset-legend-1.html button-fieldset-legend-1.html +fails-if(B2G||Mulet) == button-fieldset-legend-2.html button-fieldset-legend-2.html +# Initial mulet triage: parity with B2G/B2G Desktop +fails-if(B2G||Mulet) == button-fieldset-legend-3.html button-fieldset-legend-3.html +# Initial mulet triage: parity with B2G/B2G Desktop +== button-fieldset-legend-4.html button-fieldset-legend-4.html +== button-fieldset-legend-5.html button-fieldset-legend-5.html diff --git a/layout/reftests/css-disabled/button/reftest.list b/layout/reftests/css-disabled/button/reftest.list new file mode 100644 index 000000000..256432074 --- /dev/null +++ b/layout/reftests/css-disabled/button/reftest.list @@ -0,0 +1,9 @@ +== button-fieldset-1.html button-fieldset-ref.html +fuzzy-if(skiaContent,1,7) == button-fieldset-2.html button-fieldset-ref.html +fuzzy-if(skiaContent,1,7) == button-fieldset-3.html button-fieldset-ref.html +fuzzy-if(skiaContent,1,7) == button-fieldset-4.html button-fieldset-ref.html +== button-fieldset-legend-1.html button-fieldset-legend-ref-1.html +== button-fieldset-legend-2.html button-fieldset-legend-ref-2.html +== button-fieldset-legend-3.html button-fieldset-legend-ref-3.html +== button-fieldset-legend-4.html button-fieldset-legend-ref-4.html +== button-fieldset-legend-5.html button-fieldset-legend-ref-5.html diff --git a/layout/reftests/css-disabled/button/style.css b/layout/reftests/css-disabled/button/style.css new file mode 100644 index 000000000..7e476eb82 --- /dev/null +++ b/layout/reftests/css-disabled/button/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; +} |