diff options
Diffstat (limited to 'layout/reftests/css-invalid/default-style')
13 files changed, 125 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 000000000..0d3a98198 --- /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 000000000..ebbbe583a --- /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 000000000..028918324 --- /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 000000000..053f07327 --- /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 000000000..31f6e35f2 --- /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 000000000..6a86c17f6 --- /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-stylo.list b/layout/reftests/css-invalid/default-style/reftest-stylo.list new file mode 100644 index 000000000..eebfc3b5c --- /dev/null +++ b/layout/reftests/css-invalid/default-style/reftest-stylo.list @@ -0,0 +1,6 @@ +# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing +== input.html input.html +== button.html button.html +== textarea.html textarea.html +== select.html select.html +== fieldset.html fieldset.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 000000000..3ce4650a6 --- /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 000000000..3eed47082 --- /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 000000000..bc421bd17 --- /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 000000000..0ff814e1c --- /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 000000000..c7037764f --- /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 000000000..4a0731926 --- /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> |