diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /layout/reftests/css-invalid/default-style | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/css-invalid/default-style')
12 files changed, 119 insertions, 0 deletions
diff --git a/layout/reftests/css-invalid/default-style/button-ref.html b/layout/reftests/css-invalid/default-style/button-ref.html new file mode 100644 index 0000000000..0d3a981987 --- /dev/null +++ b/layout/reftests/css-invalid/default-style/button-ref.html @@ -0,0 +1,7 @@ +<!DOCTYPE> +<html> + <link rel='stylesheet' type='text/css' href='style.css'> + <body> + <button class='barred-ref'></button> + </body> +</html> diff --git a/layout/reftests/css-invalid/default-style/button.html b/layout/reftests/css-invalid/default-style/button.html new file mode 100644 index 0000000000..ebbbe583ac --- /dev/null +++ b/layout/reftests/css-invalid/default-style/button.html @@ -0,0 +1,14 @@ +<!DOCTYPE> +<html class="reftest-wait"> + <link rel='stylesheet' type='text/css' href='style.css'> + <script> + function onloadHandler() + { + document.getElementById('e').setCustomValidity('foo'); + document.documentElement.className=''; + } + </script> + <body onload="onloadHandler();"> + <button id='e'></button> + </body> +</html> diff --git a/layout/reftests/css-invalid/default-style/fieldset-ref.html b/layout/reftests/css-invalid/default-style/fieldset-ref.html new file mode 100644 index 0000000000..0289183246 --- /dev/null +++ b/layout/reftests/css-invalid/default-style/fieldset-ref.html @@ -0,0 +1,7 @@ +<!DOCTYPE> +<html> + <link rel='stylesheet' type='text/css' href='style.css'> + <body> + <fieldset class='barred-ref'></fieldset> + </body> +</html> diff --git a/layout/reftests/css-invalid/default-style/fieldset.html b/layout/reftests/css-invalid/default-style/fieldset.html new file mode 100644 index 0000000000..053f073273 --- /dev/null +++ b/layout/reftests/css-invalid/default-style/fieldset.html @@ -0,0 +1,14 @@ +<!DOCTYPE> +<html class="reftest-wait"> + <link rel='stylesheet' type='text/css' href='style.css'> + <script> + function onloadHandler() + { + document.getElementById('e').setCustomValidity('foo'); + document.documentElement.className=''; + } + </script> + <body onload="onloadHandler();"> + <fieldset id='e'></fieldset> + </body> +</html> diff --git a/layout/reftests/css-invalid/default-style/input-ref.html b/layout/reftests/css-invalid/default-style/input-ref.html new file mode 100644 index 0000000000..31f6e35f2c --- /dev/null +++ b/layout/reftests/css-invalid/default-style/input-ref.html @@ -0,0 +1,7 @@ +<!DOCTYPE> +<html> + <link rel='stylesheet' type='text/css' href='style.css'> + <body> + <input class='invalid-ref'> + </body> +</html> diff --git a/layout/reftests/css-invalid/default-style/input.html b/layout/reftests/css-invalid/default-style/input.html new file mode 100644 index 0000000000..6a86c17f61 --- /dev/null +++ b/layout/reftests/css-invalid/default-style/input.html @@ -0,0 +1,14 @@ +<!DOCTYPE> +<html class="reftest-wait"> + <link rel='stylesheet' type='text/css' href='style.css'> + <script> + function onloadHandler() + { + document.getElementById('e').setCustomValidity('foo'); + document.documentElement.className=''; + } + </script> + <body onload="onloadHandler();"> + <input id='e'> + </body> +</html> diff --git a/layout/reftests/css-invalid/default-style/reftest.list b/layout/reftests/css-invalid/default-style/reftest.list new file mode 100644 index 0000000000..3ce4650a6b --- /dev/null +++ b/layout/reftests/css-invalid/default-style/reftest.list @@ -0,0 +1,5 @@ +== input.html input-ref.html +== button.html button-ref.html +== textarea.html textarea-ref.html +== select.html select-ref.html +== fieldset.html fieldset-ref.html diff --git a/layout/reftests/css-invalid/default-style/select-ref.html b/layout/reftests/css-invalid/default-style/select-ref.html new file mode 100644 index 0000000000..3eed47082f --- /dev/null +++ b/layout/reftests/css-invalid/default-style/select-ref.html @@ -0,0 +1,7 @@ +<!DOCTYPE> +<html> + <link rel='stylesheet' type='text/css' href='style.css'> + <body> + <select class='invalid-ref'></select> + </body> +</html> diff --git a/layout/reftests/css-invalid/default-style/select.html b/layout/reftests/css-invalid/default-style/select.html new file mode 100644 index 0000000000..bc421bd177 --- /dev/null +++ b/layout/reftests/css-invalid/default-style/select.html @@ -0,0 +1,14 @@ +<!DOCTYPE> +<html class="reftest-wait"> + <link rel='stylesheet' type='text/css' href='style.css'> + <script> + function onloadHandler() + { + document.getElementById('e').setCustomValidity('foo'); + document.documentElement.className=''; + } + </script> + <body onload="onloadHandler();"> + <select id='e'></select> + </body> +</html> diff --git a/layout/reftests/css-invalid/default-style/style.css b/layout/reftests/css-invalid/default-style/style.css new file mode 100644 index 0000000000..0ff814e1cc --- /dev/null +++ b/layout/reftests/css-invalid/default-style/style.css @@ -0,0 +1,9 @@ +:-moz-ui-invalid { + box-shadow: none; +} + +.invalid-ref { +} + +.barred-ref { +} diff --git a/layout/reftests/css-invalid/default-style/textarea-ref.html b/layout/reftests/css-invalid/default-style/textarea-ref.html new file mode 100644 index 0000000000..c7037764f6 --- /dev/null +++ b/layout/reftests/css-invalid/default-style/textarea-ref.html @@ -0,0 +1,7 @@ +<!DOCTYPE> +<html> + <link rel='stylesheet' type='text/css' href='style.css'> + <body> + <textarea class='invalid-ref'></textarea> + </body> +</html> diff --git a/layout/reftests/css-invalid/default-style/textarea.html b/layout/reftests/css-invalid/default-style/textarea.html new file mode 100644 index 0000000000..4a0731926d --- /dev/null +++ b/layout/reftests/css-invalid/default-style/textarea.html @@ -0,0 +1,14 @@ +<!DOCTYPE> +<html class="reftest-wait"> + <link rel='stylesheet' type='text/css' href='style.css'> + <script> + function onloadHandler() + { + document.getElementById('e').setCustomValidity('foo'); + document.documentElement.className=''; + } + </script> + <body onload="onloadHandler();"> + <textarea id='e'></textarea> + </body> +</html> |