From 8dd16259287f58f9273002717ec4d27e97127719 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:43:14 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- .../media-elements/WEB_FEATURES.yml | 4 + .../the-object-element/WEB_FEATURES.yml | 4 + .../WEB_FEATURES.yml | 4 + .../semantics/forms/constraints/WEB_FEATURES.yml | 3 + ...-validation-validity-textarea-defaultValue.html | 98 ++++++++++++++++++++++ .../forms/the-button-element/WEB_FEATURES.yml | 10 +++ .../forms/the-fieldset-element/WEB_FEATURES.yml | 8 ++ .../forms/the-form-element/WEB_FEATURES.yml | 4 + .../forms/the-input-element/WEB_FEATURES.yml | 11 +++ .../forms/the-input-element/input-stepdown-02.html | 42 ++++++++++ .../forms/the-output-element/WEB_FEATURES.yml | 5 ++ .../forms/the-select-element/WEB_FEATURES.yml | 9 ++ .../native-popup-with-datalist-ref.html | 17 ++++ .../native-popup-with-datalist.tentative.html | 25 ++++++ .../stylable-select/nested-options.tenative.html | 46 ++++++++++ .../select-reset-non-interoperable-styles.css | 5 -- .../resources/stylable-select-styles.css | 49 ++++++++++- ...t-appearance-custom-button-no-datalist-ref.html | 14 ++++ ...arance-custom-button-no-datalist.tentative.html | 3 +- ...t-appearance-no-button-custom-datalist-ref.html | 14 ---- ...arance-no-button-custom-datalist.tentative.html | 3 +- ...elect-appearance-no-button-no-datalist-ref.html | 17 ++++ ...appearance-no-button-no-datalist.tentative.html | 3 +- ...ct-appearance-writing-mode-vertical-lr-ref.html | 23 +++++ ...earance-writing-mode-vertical-lr.tentative.html | 29 +++++++ ...ct-appearance-writing-mode-vertical-rl-ref.html | 23 +++++ ...earance-writing-mode-vertical-rl.tentative.html | 29 +++++++ ...button-and-datalist-invalidation.tentative.html | 1 - ...select-child-button-and-datalist.tentative.html | 1 - ...select-datalist-popover-behavior.tentative.html | 75 +++++++++++++++++ .../select-keyboard-behavior.tentative.html | 14 ++++ ...tion-arbitrary-content-displayed.tentative.html | 2 + .../forms/the-textarea-element/WEB_FEATURES.yml | 6 ++ .../the-details-element/WEB_FEATURES.yml | 4 + ...resttarget-anchor-event-dispatch.tentative.html | 47 +++++++++++ ...teresttarget-area-event-dispatch.tentative.html | 50 +++++++++++ ...resttarget-button-event-dispatch.tentative.html | 31 ------- ...eresttarget-svg-a-event-dispatch.tentative.html | 51 +++++++++++ .../invoketarget-on-input-number.tentative.html | 78 +++++++++++++++++ .../bounded-css-properties-reference-expected.html | 35 -------- ...bounded-css-properties-reference.tentative.html | 37 -------- .../bounded-css-properties-reftest-ref.html | 35 ++++++++ .../bounded-css-properties-reftest.tentative.html | 37 ++++++++ .../bounded-sizes-reftest-ref.html | 56 +++++++++++++ .../bounded-sizes-reftest.tentative.html | 68 +++++++++++++++ .../bounded-sizes.tentative.html | 75 +++++++++++++++++ .../display-css-property-reference-expected.html | 16 ---- .../display-css-property-reference.tentative.html | 22 ----- .../display-css-property-reftest-ref.html | 16 ++++ .../display-css-property-reftest.tentative.html | 22 +++++ .../popover-anchor-change-display.tentative.html | 1 + .../popover-anchor-display-none.tentative.html | 1 + .../popovers/popover-anchor-display.tentative.html | 1 + .../popover-anchor-scroll-display.tentative.html | 1 + ...over-anchor-transition.tentative.tentative.html | 1 + .../html/semantics/popovers/popover-focus-2.html | 2 +- .../popover-hover-crash-hang.tentative.html | 34 ++++++++ .../popover-light-dismiss-scroll-within.html | 52 ++++++++++++ .../semantics/popovers/popover-light-dismiss.html | 56 ++++--------- .../module/dynamic-import/microtasks/basic.any.js | 4 +- .../module/inline-async-inserted-execorder.html | 70 ++++++++++++++++ .../the-template-element/WEB_FEATURES.yml | 3 + .../selectors/pseudo-classes/WEB_FEATURES.yml | 11 +++ 63 files changed, 1304 insertions(+), 214 deletions(-) create mode 100644 testing/web-platform/tests/html/semantics/embedded-content/media-elements/WEB_FEATURES.yml create mode 100644 testing/web-platform/tests/html/semantics/embedded-content/the-object-element/WEB_FEATURES.yml create mode 100644 testing/web-platform/tests/html/semantics/forms/attributes-common-to-form-controls/WEB_FEATURES.yml create mode 100644 testing/web-platform/tests/html/semantics/forms/constraints/WEB_FEATURES.yml create mode 100644 testing/web-platform/tests/html/semantics/forms/constraints/form-validation-validity-textarea-defaultValue.html create mode 100644 testing/web-platform/tests/html/semantics/forms/the-button-element/WEB_FEATURES.yml create mode 100644 testing/web-platform/tests/html/semantics/forms/the-fieldset-element/WEB_FEATURES.yml create mode 100644 testing/web-platform/tests/html/semantics/forms/the-form-element/WEB_FEATURES.yml create mode 100644 testing/web-platform/tests/html/semantics/forms/the-input-element/WEB_FEATURES.yml create mode 100644 testing/web-platform/tests/html/semantics/forms/the-input-element/input-stepdown-02.html create mode 100644 testing/web-platform/tests/html/semantics/forms/the-output-element/WEB_FEATURES.yml create mode 100644 testing/web-platform/tests/html/semantics/forms/the-select-element/WEB_FEATURES.yml create mode 100644 testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/native-popup-with-datalist-ref.html create mode 100644 testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/native-popup-with-datalist.tentative.html create mode 100644 testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/nested-options.tenative.html delete mode 100644 testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/resources/select-reset-non-interoperable-styles.css create mode 100644 testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-custom-button-no-datalist-ref.html delete mode 100644 testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-no-button-custom-datalist-ref.html create mode 100644 testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-no-button-no-datalist-ref.html create mode 100644 testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-writing-mode-vertical-lr-ref.html create mode 100644 testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-writing-mode-vertical-lr.tentative.html create mode 100644 testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-writing-mode-vertical-rl-ref.html create mode 100644 testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-writing-mode-vertical-rl.tentative.html create mode 100644 testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-datalist-popover-behavior.tentative.html create mode 100644 testing/web-platform/tests/html/semantics/forms/the-textarea-element/WEB_FEATURES.yml create mode 100644 testing/web-platform/tests/html/semantics/interactive-elements/the-details-element/WEB_FEATURES.yml create mode 100644 testing/web-platform/tests/html/semantics/invokers/interesttarget-anchor-event-dispatch.tentative.html create mode 100644 testing/web-platform/tests/html/semantics/invokers/interesttarget-area-event-dispatch.tentative.html create mode 100644 testing/web-platform/tests/html/semantics/invokers/interesttarget-svg-a-event-dispatch.tentative.html create mode 100644 testing/web-platform/tests/html/semantics/invokers/invoketarget-on-input-number.tentative.html delete mode 100644 testing/web-platform/tests/html/semantics/permission-element/bounded-css-properties-reference-expected.html delete mode 100644 testing/web-platform/tests/html/semantics/permission-element/bounded-css-properties-reference.tentative.html create mode 100644 testing/web-platform/tests/html/semantics/permission-element/bounded-css-properties-reftest-ref.html create mode 100644 testing/web-platform/tests/html/semantics/permission-element/bounded-css-properties-reftest.tentative.html create mode 100644 testing/web-platform/tests/html/semantics/permission-element/bounded-sizes-reftest-ref.html create mode 100644 testing/web-platform/tests/html/semantics/permission-element/bounded-sizes-reftest.tentative.html create mode 100644 testing/web-platform/tests/html/semantics/permission-element/bounded-sizes.tentative.html delete mode 100644 testing/web-platform/tests/html/semantics/permission-element/display-css-property-reference-expected.html delete mode 100644 testing/web-platform/tests/html/semantics/permission-element/display-css-property-reference.tentative.html create mode 100644 testing/web-platform/tests/html/semantics/permission-element/display-css-property-reftest-ref.html create mode 100644 testing/web-platform/tests/html/semantics/permission-element/display-css-property-reftest.tentative.html create mode 100644 testing/web-platform/tests/html/semantics/popovers/popover-hover-crash-hang.tentative.html create mode 100644 testing/web-platform/tests/html/semantics/popovers/popover-light-dismiss-scroll-within.html create mode 100644 testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/inline-async-inserted-execorder.html create mode 100644 testing/web-platform/tests/html/semantics/scripting-1/the-template-element/WEB_FEATURES.yml create mode 100644 testing/web-platform/tests/html/semantics/selectors/pseudo-classes/WEB_FEATURES.yml (limited to 'testing/web-platform/tests/html/semantics') diff --git a/testing/web-platform/tests/html/semantics/embedded-content/media-elements/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/embedded-content/media-elements/WEB_FEATURES.yml new file mode 100644 index 0000000000..5730fe4715 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/embedded-content/media-elements/WEB_FEATURES.yml @@ -0,0 +1,4 @@ +features: +- name: preserves-pitch + files: + - preserves-pitch.html diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-object-element/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/embedded-content/the-object-element/WEB_FEATURES.yml new file mode 100644 index 0000000000..d3411c2d8d --- /dev/null +++ b/testing/web-platform/tests/html/semantics/embedded-content/the-object-element/WEB_FEATURES.yml @@ -0,0 +1,4 @@ +features: +- name: constraint-validation + files: + - object-setcustomvalidity.html diff --git a/testing/web-platform/tests/html/semantics/forms/attributes-common-to-form-controls/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/forms/attributes-common-to-form-controls/WEB_FEATURES.yml new file mode 100644 index 0000000000..457c904005 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/attributes-common-to-form-controls/WEB_FEATURES.yml @@ -0,0 +1,4 @@ +features: +- name: dirname + files: + - dirname-* diff --git a/testing/web-platform/tests/html/semantics/forms/constraints/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/forms/constraints/WEB_FEATURES.yml new file mode 100644 index 0000000000..93b4c5745f --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/constraints/WEB_FEATURES.yml @@ -0,0 +1,3 @@ +features: +- name: constraint-validation + files: "**" diff --git a/testing/web-platform/tests/html/semantics/forms/constraints/form-validation-validity-textarea-defaultValue.html b/testing/web-platform/tests/html/semantics/forms/constraints/form-validation-validity-textarea-defaultValue.html new file mode 100644 index 0000000000..55276116ad --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/constraints/form-validation-validity-textarea-defaultValue.html @@ -0,0 +1,98 @@ + + +textarea validation behavior + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testing/web-platform/tests/html/semantics/forms/the-button-element/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/forms/the-button-element/WEB_FEATURES.yml new file mode 100644 index 0000000000..f5a2aeaf4f --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-button-element/WEB_FEATURES.yml @@ -0,0 +1,10 @@ +features: +- name: constraint-validation + files: + - button-checkvalidity.html + - button-setcustomvalidity.html + - button-validation.html + - button-validationmessage.html + - button-validity.html + - button-willvalidate-readonly-attribute.html + - button-willvalidate.html diff --git a/testing/web-platform/tests/html/semantics/forms/the-fieldset-element/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/forms/the-fieldset-element/WEB_FEATURES.yml new file mode 100644 index 0000000000..912cb47c6d --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-fieldset-element/WEB_FEATURES.yml @@ -0,0 +1,8 @@ +features: +- name: constraint-validation + files: + - fieldset-checkvalidity.html + - fieldset-setcustomvalidity.html + - fieldset-validationmessage.html + - fieldset-validity.html + - fieldset-willvalidate.html diff --git a/testing/web-platform/tests/html/semantics/forms/the-form-element/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/forms/the-form-element/WEB_FEATURES.yml new file mode 100644 index 0000000000..04c20cb5ec --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-form-element/WEB_FEATURES.yml @@ -0,0 +1,4 @@ +features: +- name: constraint-validation + files: + - form-checkvalidity.html diff --git a/testing/web-platform/tests/html/semantics/forms/the-input-element/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/forms/the-input-element/WEB_FEATURES.yml new file mode 100644 index 0000000000..4957615f24 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-input-element/WEB_FEATURES.yml @@ -0,0 +1,11 @@ +features: +- name: constraint-validation + files: + - input-checkvalidity.html + - input-setcustomvalidity.html + - input-validationmessage.html + - input-validity.html + - input-willvalidate.html +- name: show-picker-input + files: + - show-picker-* diff --git a/testing/web-platform/tests/html/semantics/forms/the-input-element/input-stepdown-02.html b/testing/web-platform/tests/html/semantics/forms/the-input-element/input-stepdown-02.html new file mode 100644 index 0000000000..db71d11009 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-input-element/input-stepdown-02.html @@ -0,0 +1,42 @@ + +Input Step Down + + + + + + + + + diff --git a/testing/web-platform/tests/html/semantics/forms/the-output-element/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/forms/the-output-element/WEB_FEATURES.yml new file mode 100644 index 0000000000..2f7f8e8cc2 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-output-element/WEB_FEATURES.yml @@ -0,0 +1,5 @@ +features: +- name: constraint-validation + files: + - output-setcustomvalidity.html + - output-validity.html diff --git a/testing/web-platform/tests/html/semantics/forms/the-select-element/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/forms/the-select-element/WEB_FEATURES.yml new file mode 100644 index 0000000000..9695c95294 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-select-element/WEB_FEATURES.yml @@ -0,0 +1,9 @@ +features: +- name: constraint-validation + files: + - select-setcustomvalidity.html + - select-validity.html + - select-willvalidate-readonly-attribute.html +- name: show-picker-select + files: + - show-picker-* diff --git a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/native-popup-with-datalist-ref.html b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/native-popup-with-datalist-ref.html new file mode 100644 index 0000000000..87918b6a92 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/native-popup-with-datalist-ref.html @@ -0,0 +1,17 @@ + + + + + + + + diff --git a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/native-popup-with-datalist.tentative.html b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/native-popup-with-datalist.tentative.html new file mode 100644 index 0000000000..a968c6a164 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/native-popup-with-datalist.tentative.html @@ -0,0 +1,25 @@ + + + + + + + + + + + + diff --git a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/nested-options.tenative.html b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/nested-options.tenative.html new file mode 100644 index 0000000000..7e89a5ad42 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/nested-options.tenative.html @@ -0,0 +1,46 @@ + + + + + + + + + + + + diff --git a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/resources/select-reset-non-interoperable-styles.css b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/resources/select-reset-non-interoperable-styles.css deleted file mode 100644 index d2b9d9df26..0000000000 --- a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/resources/select-reset-non-interoperable-styles.css +++ /dev/null @@ -1,5 +0,0 @@ -/* TODO(crbug.com/1511354): linux.css sets background-color on select, consider - * removing it. */ -select { - background-color: Field; -} diff --git a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/resources/stylable-select-styles.css b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/resources/stylable-select-styles.css index 042de838d1..5ee317d61a 100644 --- a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/resources/stylable-select-styles.css +++ b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/resources/stylable-select-styles.css @@ -1,9 +1,6 @@ /* These are UA styles for select and stylable select. */ .stylable-select-container { - background-color: Field; - border: 1px solid rgba(0, 0, 0, 0); - border-radius: 0; box-sizing: border-box; display: inline-block; } @@ -14,7 +11,8 @@ overflow: auto; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 0.25em; - padding: 0.25em 0; + padding-block: 0.25em; + padding-inline: 0; background-color: Field; margin: 0; inset: auto; @@ -35,3 +33,46 @@ padding: 0px 2px 1px; white-space: nowrap; } + +.stylable-select-button { + color: FieldText; + background-color: Field; + appearance: none; + padding: 0.25em; + border: 1px solid ButtonBorder; + cursor: default; + text-align: inherit; + display: inline-flex; + flex-grow: 1; + flex-shrink: 1; + align-items: center; + overflow-x: hidden; + overflow-y: hidden; +} + +.stylable-select-button-icon { + background-image: url(data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2214%22%20viewBox%3D%220%200%2020%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M4%206%20L10%2012%20L%2016%206%22%20stroke%3D%22WindowText%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E); + background-origin: content-box; + background-repeat: no-repeat; + background-size: contain; + opacity: 1; + outline: none; + margin-inline-start: 0.25em; + padding-block: 2px; + padding-inline: 3px; + block-size: 1.0em; + inline-size: 1.2em; + min-inline-size: 1.2em; + max-inline-size: 1.2em; + display: block; +} + +.stylable-select-selectedoption { + color: inherit; + min-inline-size: 0px; + max-block-size: 100%; + flex-grow: 1; + flex-shrink: 1; + overflow: hidden; + display: inline; +} diff --git a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-custom-button-no-datalist-ref.html b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-custom-button-no-datalist-ref.html new file mode 100644 index 0000000000..10c966a107 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-custom-button-no-datalist-ref.html @@ -0,0 +1,14 @@ + + + +
+ +
+
one
+
two
+
+
+ + diff --git a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-custom-button-no-datalist.tentative.html b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-custom-button-no-datalist.tentative.html index 94d7fd53b3..aaceabcf05 100644 --- a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-custom-button-no-datalist.tentative.html +++ b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-custom-button-no-datalist.tentative.html @@ -2,8 +2,7 @@ - - + diff --git a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-no-button-custom-datalist-ref.html b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-no-button-custom-datalist-ref.html deleted file mode 100644 index 8e5eadaf57..0000000000 --- a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-no-button-custom-datalist-ref.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -
- -
-
one
-
two
-
-
- - diff --git a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-no-button-custom-datalist.tentative.html b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-no-button-custom-datalist.tentative.html index 87425cf7a3..cc8a4c60bd 100644 --- a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-no-button-custom-datalist.tentative.html +++ b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-no-button-custom-datalist.tentative.html @@ -2,8 +2,7 @@ - - + diff --git a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-no-button-no-datalist-ref.html b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-no-button-no-datalist-ref.html new file mode 100644 index 0000000000..3c6e9416b0 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-no-button-no-datalist-ref.html @@ -0,0 +1,17 @@ + + + +
+ +
+
one
+
two
+
+
+ + diff --git a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-no-button-no-datalist.tentative.html b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-no-button-no-datalist.tentative.html index b2a6b5a6d3..29261b7f25 100644 --- a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-no-button-no-datalist.tentative.html +++ b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-no-button-no-datalist.tentative.html @@ -2,8 +2,7 @@ - - + diff --git a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-writing-mode-vertical-lr-ref.html b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-writing-mode-vertical-lr-ref.html new file mode 100644 index 0000000000..8b7e6402fb --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-writing-mode-vertical-lr-ref.html @@ -0,0 +1,23 @@ + + + + + +
+ +
+
one
+
two
+
+
+ + diff --git a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-writing-mode-vertical-lr.tentative.html b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-writing-mode-vertical-lr.tentative.html new file mode 100644 index 0000000000..2f8a6aa886 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-writing-mode-vertical-lr.tentative.html @@ -0,0 +1,29 @@ + + + + + + + + + + + + + diff --git a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-writing-mode-vertical-rl-ref.html b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-writing-mode-vertical-rl-ref.html new file mode 100644 index 0000000000..158807ba58 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-writing-mode-vertical-rl-ref.html @@ -0,0 +1,23 @@ + + + + + +
+ +
+
one
+
two
+
+
+ + diff --git a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-writing-mode-vertical-rl.tentative.html b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-writing-mode-vertical-rl.tentative.html new file mode 100644 index 0000000000..c2ea647be9 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-appearance-writing-mode-vertical-rl.tentative.html @@ -0,0 +1,29 @@ + + + + + + + + + + + + + diff --git a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-child-button-and-datalist-invalidation.tentative.html b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-child-button-and-datalist-invalidation.tentative.html index b6d85ac90a..822a63e104 100644 --- a/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-child-button-and-datalist-invalidation.tentative.html +++ b/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/select-child-button-and-datalist-invalidation.tentative.html @@ -3,7 +3,6 @@ - - - - - \ No newline at end of file diff --git a/testing/web-platform/tests/html/semantics/permission-element/bounded-css-properties-reference.tentative.html b/testing/web-platform/tests/html/semantics/permission-element/bounded-css-properties-reference.tentative.html deleted file mode 100644 index b8337ab87d..0000000000 --- a/testing/web-platform/tests/html/semantics/permission-element/bounded-css-properties-reference.tentative.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - -
- The permission element should have some limits for specific properties: -
    -
  • font-weight is adjusted to be at least 200.
  • -
  • font-style should only have "normal" or "italic" values.
  • -
  • word-spacing should be at most 0.5 of the font size, and non-negative.
  • -
  • letter-spacing should be between -0.05 and 0.2 of the font size.
  • -
-
- - - - - - \ No newline at end of file diff --git a/testing/web-platform/tests/html/semantics/permission-element/bounded-css-properties-reftest-ref.html b/testing/web-platform/tests/html/semantics/permission-element/bounded-css-properties-reftest-ref.html new file mode 100644 index 0000000000..c62ff5b24d --- /dev/null +++ b/testing/web-platform/tests/html/semantics/permission-element/bounded-css-properties-reftest-ref.html @@ -0,0 +1,35 @@ + + + +
+ The permission element should have some limits for specific properties: +
    +
  • font-weight is adjusted to be at least 200.
  • +
  • font-style should only have "normal" or "italic" values.
  • +
  • word-spacing should be at most 0.5 of the font size, and non-negative.
  • +
  • letter-spacing should be between -0.05 and 0.2 of the font size.
  • +
+
+ + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/semantics/permission-element/bounded-css-properties-reftest.tentative.html b/testing/web-platform/tests/html/semantics/permission-element/bounded-css-properties-reftest.tentative.html new file mode 100644 index 0000000000..ad6986f52b --- /dev/null +++ b/testing/web-platform/tests/html/semantics/permission-element/bounded-css-properties-reftest.tentative.html @@ -0,0 +1,37 @@ + + + + + +
+ The permission element should have some limits for specific properties: +
    +
  • font-weight is adjusted to be at least 200.
  • +
  • font-style should only have "normal" or "italic" values.
  • +
  • word-spacing should be at most 0.5 of the font size, and non-negative.
  • +
  • letter-spacing should be between -0.05 and 0.2 of the font size.
  • +
+
+ + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/semantics/permission-element/bounded-sizes-reftest-ref.html b/testing/web-platform/tests/html/semantics/permission-element/bounded-sizes-reftest-ref.html new file mode 100644 index 0000000000..b186dd6445 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/permission-element/bounded-sizes-reftest-ref.html @@ -0,0 +1,56 @@ + + + + +
+ The permission element should have some limits for the min/max-width/height: +
    +
  • min-width should be sufficient to fit the element text (depends on user agent implementation)
  • +
  • max-width should be at most 3x min-width
  • +
  • min-height should be sufficient to fit the element text (1em)
  • +
  • max-height should be at most 3x min-height
  • +
  • padding-left/top only work with width/height: auto and are at most 5em/1em
  • +
  • padding-right/bottom are copied over from padding-left/top in this case
  • +
+
+ + + +
+
+
+ + + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/semantics/permission-element/bounded-sizes-reftest.tentative.html b/testing/web-platform/tests/html/semantics/permission-element/bounded-sizes-reftest.tentative.html new file mode 100644 index 0000000000..45ffb633c3 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/permission-element/bounded-sizes-reftest.tentative.html @@ -0,0 +1,68 @@ + + + + + +
+ The permission element should have some limits for the min/max-width/height: +
    +
  • min-width should be sufficient to fit the element text (depends on user agent implementation)
  • +
  • max-width should be at most 3x min-width
  • +
  • min-height should be sufficient to fit the element text (1em)
  • +
  • max-height should be at most 3x min-height
  • +
  • padding-left/top only work with width/height: auto and are at most 5em/1em
  • +
  • padding-right/bottom are copied over from padding-left/top in this case
  • +
+
+ + + +
+
+
+ \ No newline at end of file diff --git a/testing/web-platform/tests/html/semantics/permission-element/bounded-sizes.tentative.html b/testing/web-platform/tests/html/semantics/permission-element/bounded-sizes.tentative.html new file mode 100644 index 0000000000..2010cd0a54 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/permission-element/bounded-sizes.tentative.html @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/semantics/permission-element/display-css-property-reference-expected.html b/testing/web-platform/tests/html/semantics/permission-element/display-css-property-reference-expected.html deleted file mode 100644 index 6a04c94c03..0000000000 --- a/testing/web-platform/tests/html/semantics/permission-element/display-css-property-reference-expected.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -
- The permission element should either be display 'none' or 'inline-block' -
- - - - -After element - \ No newline at end of file diff --git a/testing/web-platform/tests/html/semantics/permission-element/display-css-property-reference.tentative.html b/testing/web-platform/tests/html/semantics/permission-element/display-css-property-reference.tentative.html deleted file mode 100644 index 973a76d723..0000000000 --- a/testing/web-platform/tests/html/semantics/permission-element/display-css-property-reference.tentative.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - -
- The permission element should either be display 'none' or 'inline-block' -
- - - - - -After element - \ No newline at end of file diff --git a/testing/web-platform/tests/html/semantics/permission-element/display-css-property-reftest-ref.html b/testing/web-platform/tests/html/semantics/permission-element/display-css-property-reftest-ref.html new file mode 100644 index 0000000000..6a04c94c03 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/permission-element/display-css-property-reftest-ref.html @@ -0,0 +1,16 @@ + + + +
+ The permission element should either be display 'none' or 'inline-block' +
+ + + + +After element + \ No newline at end of file diff --git a/testing/web-platform/tests/html/semantics/permission-element/display-css-property-reftest.tentative.html b/testing/web-platform/tests/html/semantics/permission-element/display-css-property-reftest.tentative.html new file mode 100644 index 0000000000..e83786373d --- /dev/null +++ b/testing/web-platform/tests/html/semantics/permission-element/display-css-property-reftest.tentative.html @@ -0,0 +1,22 @@ + + + + + +
+ The permission element should either be display 'none' or 'inline-block' +
+ + + + + +After element + \ No newline at end of file diff --git a/testing/web-platform/tests/html/semantics/popovers/popover-anchor-change-display.tentative.html b/testing/web-platform/tests/html/semantics/popovers/popover-anchor-change-display.tentative.html index 435929a6c1..4312a156ce 100644 --- a/testing/web-platform/tests/html/semantics/popovers/popover-anchor-change-display.tentative.html +++ b/testing/web-platform/tests/html/semantics/popovers/popover-anchor-change-display.tentative.html @@ -42,6 +42,7 @@ window.addEventListener('load', runTest); background: orange; } [popover] { + inset: auto; background: lime; padding:0; border:0; diff --git a/testing/web-platform/tests/html/semantics/popovers/popover-anchor-display-none.tentative.html b/testing/web-platform/tests/html/semantics/popovers/popover-anchor-display-none.tentative.html index 55a11fafdb..8db022b126 100644 --- a/testing/web-platform/tests/html/semantics/popovers/popover-anchor-display-none.tentative.html +++ b/testing/web-platform/tests/html/semantics/popovers/popover-anchor-display-none.tentative.html @@ -15,6 +15,7 @@ display: none; } [popover] { + inset: auto; background: lime; padding: 0; border: 0; diff --git a/testing/web-platform/tests/html/semantics/popovers/popover-anchor-display.tentative.html b/testing/web-platform/tests/html/semantics/popovers/popover-anchor-display.tentative.html index bddc44006d..a713540094 100644 --- a/testing/web-platform/tests/html/semantics/popovers/popover-anchor-display.tentative.html +++ b/testing/web-platform/tests/html/semantics/popovers/popover-anchor-display.tentative.html @@ -61,6 +61,7 @@ showDefaultopenPopoversOnLoad(); background: orange; } [popover] { + inset: auto; background: lime; padding:0; border:0; diff --git a/testing/web-platform/tests/html/semantics/popovers/popover-anchor-scroll-display.tentative.html b/testing/web-platform/tests/html/semantics/popovers/popover-anchor-scroll-display.tentative.html index 2c6b0bafb9..a301032a5b 100644 --- a/testing/web-platform/tests/html/semantics/popovers/popover-anchor-scroll-display.tentative.html +++ b/testing/web-platform/tests/html/semantics/popovers/popover-anchor-scroll-display.tentative.html @@ -40,6 +40,7 @@ background: orange; } [popover] { + inset: auto; background: lime; padding:0; border:0; diff --git a/testing/web-platform/tests/html/semantics/popovers/popover-anchor-transition.tentative.tentative.html b/testing/web-platform/tests/html/semantics/popovers/popover-anchor-transition.tentative.tentative.html index ae2a3a8e41..f6220f3c76 100644 --- a/testing/web-platform/tests/html/semantics/popovers/popover-anchor-transition.tentative.tentative.html +++ b/testing/web-platform/tests/html/semantics/popovers/popover-anchor-transition.tentative.tentative.html @@ -13,6 +13,7 @@ body { } #target { + inset: auto; transition: display 2s; } diff --git a/testing/web-platform/tests/html/semantics/popovers/popover-focus-2.html b/testing/web-platform/tests/html/semantics/popovers/popover-focus-2.html index 892e5fd68f..8f24ace919 100644 --- a/testing/web-platform/tests/html/semantics/popovers/popover-focus-2.html +++ b/testing/web-platform/tests/html/semantics/popovers/popover-focus-2.html @@ -80,7 +80,7 @@ promise_test(async t => { assert_equals(document.activeElement,invoker2,'Focus should move within popover'); await sendShiftTab(); await sendShiftTab(); - assert_equals(document.activeElement, button1 ,'Focus should not move back to invoker as it is non-focusable'); + assert_equals(document.activeElement,invoker0,'Focus should not move back to invoker as it is non-focusable'); // Reset invoker1 to focusable. invoker1.disabled = false; await verifyFocusOrder([button1, button2, invoker0, invoker1, inside_popover1, invoker2, inside_popover2, button3, button4],'set 1'); diff --git a/testing/web-platform/tests/html/semantics/popovers/popover-hover-crash-hang.tentative.html b/testing/web-platform/tests/html/semantics/popovers/popover-hover-crash-hang.tentative.html new file mode 100644 index 0000000000..60309398db --- /dev/null +++ b/testing/web-platform/tests/html/semantics/popovers/popover-hover-crash-hang.tentative.html @@ -0,0 +1,34 @@ + + +Crash/hang test for popover hover behavior + + + + + + + + + + + + + diff --git a/testing/web-platform/tests/html/semantics/popovers/popover-light-dismiss-scroll-within.html b/testing/web-platform/tests/html/semantics/popovers/popover-light-dismiss-scroll-within.html new file mode 100644 index 0000000000..2329aea201 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/popovers/popover-light-dismiss-scroll-within.html @@ -0,0 +1,52 @@ + + +Popover light dismiss behavior when scrolled within + + + + + + + + + + + + +
Inside popover +
+ Bottom of popover6 +
+ + + diff --git a/testing/web-platform/tests/html/semantics/popovers/popover-light-dismiss.html b/testing/web-platform/tests/html/semantics/popovers/popover-light-dismiss.html index 45db242e91..78b8674513 100644 --- a/testing/web-platform/tests/html/semantics/popovers/popover-light-dismiss.html +++ b/testing/web-platform/tests/html/semantics/popovers/popover-light-dismiss.html @@ -303,33 +303,6 @@ },'An invoking element that was not used to invoke the popover is not part of the ancestor chain'); -
Inside popover 6 -
- Bottom of popover6 -
- - - -