From 2aa4a82499d4becd2284cdb482213d541b8804dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 16:29:10 +0200 Subject: Adding upstream version 86.0.1. Signed-off-by: Daniel Baumann --- .../css-required/css-required-button-element.html | 7 ++++++ .../reftests/css-required/css-required-button.html | 7 ++++++ .../css-required/css-required-checkbox-ref.html | 6 +++++ .../css-required/css-required-checkbox.html | 7 ++++++ .../reftests/css-required/css-required-dyn-1.html | 21 ++++++++++++++++ .../reftests/css-required/css-required-dyn-2.html | 21 ++++++++++++++++ .../reftests/css-required/css-required-dyn-3.html | 20 +++++++++++++++ .../reftests/css-required/css-required-dyn-4.html | 20 +++++++++++++++ .../reftests/css-required/css-required-dyn-5.html | 20 +++++++++++++++ .../reftests/css-required/css-required-dyn-6.html | 20 +++++++++++++++ .../css-required/css-required-file-ref.html | 6 +++++ .../reftests/css-required/css-required-file.html | 7 ++++++ .../reftests/css-required/css-required-hidden.html | 7 ++++++ .../reftests/css-required/css-required-image.html | 7 ++++++ .../css-required/css-required-password-ref.html | 6 +++++ .../css-required/css-required-password.html | 7 ++++++ .../css-required/css-required-radio-ref.html | 6 +++++ .../reftests/css-required/css-required-radio.html | 7 ++++++ .../reftests/css-required/css-required-reset.html | 7 ++++++ .../css-required/css-required-search-ref.html | 6 +++++ .../reftests/css-required/css-required-search.html | 7 ++++++ .../css-required/css-required-select-ref.html | 6 +++++ .../reftests/css-required/css-required-select.html | 7 ++++++ .../reftests/css-required/css-required-style-2.css | 13 ++++++++++ .../reftests/css-required/css-required-style.css | 13 ++++++++++ .../reftests/css-required/css-required-submit.html | 7 ++++++ .../css-required/css-required-tel-ref.html | 6 +++++ layout/reftests/css-required/css-required-tel.html | 7 ++++++ .../css-required/css-required-text-ref.html | 6 +++++ .../reftests/css-required/css-required-text.html | 7 ++++++ .../css-required/css-required-textarea-ref.html | 6 +++++ .../css-required/css-required-textarea.html | 7 ++++++ layout/reftests/css-required/reftest.list | 29 ++++++++++++++++++++++ 33 files changed, 336 insertions(+) create mode 100644 layout/reftests/css-required/css-required-button-element.html create mode 100644 layout/reftests/css-required/css-required-button.html create mode 100644 layout/reftests/css-required/css-required-checkbox-ref.html create mode 100644 layout/reftests/css-required/css-required-checkbox.html create mode 100644 layout/reftests/css-required/css-required-dyn-1.html create mode 100644 layout/reftests/css-required/css-required-dyn-2.html create mode 100644 layout/reftests/css-required/css-required-dyn-3.html create mode 100644 layout/reftests/css-required/css-required-dyn-4.html create mode 100644 layout/reftests/css-required/css-required-dyn-5.html create mode 100644 layout/reftests/css-required/css-required-dyn-6.html create mode 100644 layout/reftests/css-required/css-required-file-ref.html create mode 100644 layout/reftests/css-required/css-required-file.html create mode 100644 layout/reftests/css-required/css-required-hidden.html create mode 100644 layout/reftests/css-required/css-required-image.html create mode 100644 layout/reftests/css-required/css-required-password-ref.html create mode 100644 layout/reftests/css-required/css-required-password.html create mode 100644 layout/reftests/css-required/css-required-radio-ref.html create mode 100644 layout/reftests/css-required/css-required-radio.html create mode 100644 layout/reftests/css-required/css-required-reset.html create mode 100644 layout/reftests/css-required/css-required-search-ref.html create mode 100644 layout/reftests/css-required/css-required-search.html create mode 100644 layout/reftests/css-required/css-required-select-ref.html create mode 100644 layout/reftests/css-required/css-required-select.html create mode 100644 layout/reftests/css-required/css-required-style-2.css create mode 100644 layout/reftests/css-required/css-required-style.css create mode 100644 layout/reftests/css-required/css-required-submit.html create mode 100644 layout/reftests/css-required/css-required-tel-ref.html create mode 100644 layout/reftests/css-required/css-required-tel.html create mode 100644 layout/reftests/css-required/css-required-text-ref.html create mode 100644 layout/reftests/css-required/css-required-text.html create mode 100644 layout/reftests/css-required/css-required-textarea-ref.html create mode 100644 layout/reftests/css-required/css-required-textarea.html create mode 100644 layout/reftests/css-required/reftest.list (limited to 'layout/reftests/css-required') diff --git a/layout/reftests/css-required/css-required-button-element.html b/layout/reftests/css-required/css-required-button-element.html new file mode 100644 index 0000000000..5c2df1c951 --- /dev/null +++ b/layout/reftests/css-required/css-required-button-element.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-required/css-required-button.html b/layout/reftests/css-required/css-required-button.html new file mode 100644 index 0000000000..c31dc169e6 --- /dev/null +++ b/layout/reftests/css-required/css-required-button.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-required/css-required-checkbox-ref.html b/layout/reftests/css-required/css-required-checkbox-ref.html new file mode 100644 index 0000000000..57cf905ad8 --- /dev/null +++ b/layout/reftests/css-required/css-required-checkbox-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-required/css-required-checkbox.html b/layout/reftests/css-required/css-required-checkbox.html new file mode 100644 index 0000000000..6126da914a --- /dev/null +++ b/layout/reftests/css-required/css-required-checkbox.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-required/css-required-dyn-1.html b/layout/reftests/css-required/css-required-dyn-1.html new file mode 100644 index 0000000000..6663609159 --- /dev/null +++ b/layout/reftests/css-required/css-required-dyn-1.html @@ -0,0 +1,21 @@ + + + + + + + + + + + diff --git a/layout/reftests/css-required/css-required-dyn-2.html b/layout/reftests/css-required/css-required-dyn-2.html new file mode 100644 index 0000000000..f19ae3c1e4 --- /dev/null +++ b/layout/reftests/css-required/css-required-dyn-2.html @@ -0,0 +1,21 @@ + + + + + + + + + + + diff --git a/layout/reftests/css-required/css-required-dyn-3.html b/layout/reftests/css-required/css-required-dyn-3.html new file mode 100644 index 0000000000..3cd2159761 --- /dev/null +++ b/layout/reftests/css-required/css-required-dyn-3.html @@ -0,0 +1,20 @@ + + + + + + + + + + + diff --git a/layout/reftests/css-required/css-required-dyn-4.html b/layout/reftests/css-required/css-required-dyn-4.html new file mode 100644 index 0000000000..6ab8a32e34 --- /dev/null +++ b/layout/reftests/css-required/css-required-dyn-4.html @@ -0,0 +1,20 @@ + + + + + + + + + + + diff --git a/layout/reftests/css-required/css-required-dyn-5.html b/layout/reftests/css-required/css-required-dyn-5.html new file mode 100644 index 0000000000..4f8fb1f3de --- /dev/null +++ b/layout/reftests/css-required/css-required-dyn-5.html @@ -0,0 +1,20 @@ + + + + + + + + + + + diff --git a/layout/reftests/css-required/css-required-dyn-6.html b/layout/reftests/css-required/css-required-dyn-6.html new file mode 100644 index 0000000000..e6c0eae7ff --- /dev/null +++ b/layout/reftests/css-required/css-required-dyn-6.html @@ -0,0 +1,20 @@ + + + + + + + + + + + diff --git a/layout/reftests/css-required/css-required-file-ref.html b/layout/reftests/css-required/css-required-file-ref.html new file mode 100644 index 0000000000..2c4ef05993 --- /dev/null +++ b/layout/reftests/css-required/css-required-file-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-required/css-required-file.html b/layout/reftests/css-required/css-required-file.html new file mode 100644 index 0000000000..7a8534ba8a --- /dev/null +++ b/layout/reftests/css-required/css-required-file.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-required/css-required-hidden.html b/layout/reftests/css-required/css-required-hidden.html new file mode 100644 index 0000000000..4ad39a518b --- /dev/null +++ b/layout/reftests/css-required/css-required-hidden.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-required/css-required-image.html b/layout/reftests/css-required/css-required-image.html new file mode 100644 index 0000000000..a293ed0aec --- /dev/null +++ b/layout/reftests/css-required/css-required-image.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-required/css-required-password-ref.html b/layout/reftests/css-required/css-required-password-ref.html new file mode 100644 index 0000000000..cc49928f6c --- /dev/null +++ b/layout/reftests/css-required/css-required-password-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-required/css-required-password.html b/layout/reftests/css-required/css-required-password.html new file mode 100644 index 0000000000..27db40342a --- /dev/null +++ b/layout/reftests/css-required/css-required-password.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-required/css-required-radio-ref.html b/layout/reftests/css-required/css-required-radio-ref.html new file mode 100644 index 0000000000..e7b97476c9 --- /dev/null +++ b/layout/reftests/css-required/css-required-radio-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-required/css-required-radio.html b/layout/reftests/css-required/css-required-radio.html new file mode 100644 index 0000000000..bd5d980f36 --- /dev/null +++ b/layout/reftests/css-required/css-required-radio.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-required/css-required-reset.html b/layout/reftests/css-required/css-required-reset.html new file mode 100644 index 0000000000..a94efef7a2 --- /dev/null +++ b/layout/reftests/css-required/css-required-reset.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-required/css-required-search-ref.html b/layout/reftests/css-required/css-required-search-ref.html new file mode 100644 index 0000000000..059b11589c --- /dev/null +++ b/layout/reftests/css-required/css-required-search-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-required/css-required-search.html b/layout/reftests/css-required/css-required-search.html new file mode 100644 index 0000000000..0f90cd1d99 --- /dev/null +++ b/layout/reftests/css-required/css-required-search.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-required/css-required-select-ref.html b/layout/reftests/css-required/css-required-select-ref.html new file mode 100644 index 0000000000..e419bb1845 --- /dev/null +++ b/layout/reftests/css-required/css-required-select-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-required/css-required-select.html b/layout/reftests/css-required/css-required-select.html new file mode 100644 index 0000000000..c69f26a3d3 --- /dev/null +++ b/layout/reftests/css-required/css-required-select.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-required/css-required-style-2.css b/layout/reftests/css-required/css-required-style-2.css new file mode 100644 index 0000000000..0670fb48e7 --- /dev/null +++ b/layout/reftests/css-required/css-required-style-2.css @@ -0,0 +1,13 @@ +input, textarea, select, button, +*:optional { + visibility: hidden; +} + +input[required]:required { + visibility: visible; +} + +/* Override the default style. */ +:invalid { + box-shadow: none; +} diff --git a/layout/reftests/css-required/css-required-style.css b/layout/reftests/css-required/css-required-style.css new file mode 100644 index 0000000000..59daf2ea62 --- /dev/null +++ b/layout/reftests/css-required/css-required-style.css @@ -0,0 +1,13 @@ +input, textarea, select, button, +*:optional { + visibility: hidden; +} + +*:required { + visibility: visible; +} + +/* Override the default style. */ +:invalid { + box-shadow: none; +} diff --git a/layout/reftests/css-required/css-required-submit.html b/layout/reftests/css-required/css-required-submit.html new file mode 100644 index 0000000000..c82fa3ad59 --- /dev/null +++ b/layout/reftests/css-required/css-required-submit.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-required/css-required-tel-ref.html b/layout/reftests/css-required/css-required-tel-ref.html new file mode 100644 index 0000000000..059b11589c --- /dev/null +++ b/layout/reftests/css-required/css-required-tel-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-required/css-required-tel.html b/layout/reftests/css-required/css-required-tel.html new file mode 100644 index 0000000000..d468c867cd --- /dev/null +++ b/layout/reftests/css-required/css-required-tel.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-required/css-required-text-ref.html b/layout/reftests/css-required/css-required-text-ref.html new file mode 100644 index 0000000000..07e5eee7e6 --- /dev/null +++ b/layout/reftests/css-required/css-required-text-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-required/css-required-text.html b/layout/reftests/css-required/css-required-text.html new file mode 100644 index 0000000000..0aa2180336 --- /dev/null +++ b/layout/reftests/css-required/css-required-text.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-required/css-required-textarea-ref.html b/layout/reftests/css-required/css-required-textarea-ref.html new file mode 100644 index 0000000000..bde6f508f9 --- /dev/null +++ b/layout/reftests/css-required/css-required-textarea-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-required/css-required-textarea.html b/layout/reftests/css-required/css-required-textarea.html new file mode 100644 index 0000000000..82d01bc5db --- /dev/null +++ b/layout/reftests/css-required/css-required-textarea.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-required/reftest.list b/layout/reftests/css-required/reftest.list new file mode 100644 index 0000000000..4c1f19abb6 --- /dev/null +++ b/layout/reftests/css-required/reftest.list @@ -0,0 +1,29 @@ +# Checking if these types/elements support :required +== css-required-textarea.html css-required-textarea-ref.html +== css-required-radio.html css-required-radio-ref.html +== css-required-text.html css-required-text-ref.html +== css-required-checkbox.html css-required-checkbox-ref.html +== css-required-file.html css-required-file-ref.html +== css-required-password.html css-required-password-ref.html +== css-required-tel.html css-required-tel-ref.html +== css-required-search.html css-required-search-ref.html +fuzzy-if(geckoview,0-4,0-1) == css-required-select.html css-required-select-ref.html + +# Checking dynamic behavior with +== css-required-dyn-1.html css-required-text-ref.html +== css-required-dyn-2.html about:blank +== css-required-dyn-3.html css-required-text-ref.html +== css-required-dyn-4.html about:blank +== css-required-dyn-5.html css-required-text-ref.html +== css-required-dyn-6.html about:blank + +# Following input types do not support :required +== css-required-hidden.html about:blank +== css-required-button.html about:blank +== css-required-submit.html about:blank +== css-required-image.html about:blank +== css-required-reset.html about:blank + +# Following elements can be optional but can't be required +== css-required-button-element.html about:blank + -- cgit v1.2.3