From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../focus/chrome-object-tab-focus-bug.html | 43 ++++++ .../html/interaction/focus/composed.window.js | 16 +++ .../document-has-system-focus.html | 44 ++++++ .../document-level-apis.html | 34 +++++ .../document-level-focus-apis/support/popup.html | 18 +++ .../document-level-focus-apis/support/test.html | 5 + .../tests/html/interaction/focus/focus-01.html | 45 +++++++ .../tests/html/interaction/focus/focus-02.html | 38 ++++++ .../html/interaction/focus/focus-file-input.html | 18 +++ .../interaction/focus/focus-input-type-switch.html | 26 ++++ .../html/interaction/focus/focus-keyboard-js.html | 26 ++++ .../focus-event-targets-simple.html | 33 +++++ .../focus/focus-management/focus-events.html | 33 +++++ .../focused-element-move-documents-crash.html | 16 +++ .../descends-into-extending-focusgroup.html | 37 ++++++ .../does-not-move-when-on-focusgroup-root.html | 30 +++++ .../does-not-move-when-on-non-focusgroup-item.html | 33 +++++ ...does-not-move-when-only-one-item-and-wraps.html | 29 ++++ .../does-not-move-when-only-one-item.html | 29 ++++ .../does-not-move-when-outside-focusgroup.html | 31 +++++ .../does-not-wrap-when-not-supported.html | 30 +++++ .../horizontal/ascends-to-parent-focusgroup.html | 36 +++++ ...not-ascend-out-of-non-extending-focusgroup.html | 30 +++++ .../does-not-move-when-axis-not-supported.html | 27 ++++ .../does-not-wrap-in-orthogonal-axis.html | 28 ++++ .../moves-when-only-current-axis-supported.html | 28 ++++ ...at-extends-in-orthogonal-axis-complex-case.html | 38 ++++++ ...focusgroup-that-extends-in-orthogonal-axis.html | 34 +++++ .../horizontal/wraps-in-axis.html | 29 ++++ ...-to-previous-item-and-skips-focusable-item.html | 32 +++++ .../moves-to-previous-item.html | 31 +++++ .../skips-empty-wrapping-focusgroup.html | 37 ++++++ .../skips-non-focusgroup-subtree.html | 35 +++++ .../skips-root-focusgroup-complex-case.html | 41 ++++++ .../backward-navigation/skips-root-focusgroup.html | 37 ++++++ .../vertical/ascends-to-parent-focusgroup.html | 36 +++++ ...not-ascend-out-of-non-extending-focusgroup.html | 30 +++++ .../does-not-move-when-axis-not-supported.html | 27 ++++ .../vertical/does-not-wrap-in-orthogonal-axis.html | 28 ++++ .../moves-when-only-current-axis-supported.html | 28 ++++ ...at-extends-in-orthogonal-axis-complex-case.html | 38 ++++++ ...focusgroup-that-extends-in-orthogonal-axis.html | 34 +++++ .../vertical/wraps-in-axis.html | 29 ++++ .../wraps-in-extending-focusgroup.html | 43 ++++++ .../wraps-successfully-complex-case.html | 40 ++++++ .../backward-navigation/wraps-successfully.html | 32 +++++ .../does-not-move-when-on-focusgroup-root.html | 30 +++++ .../does-not-move-when-on-non-item.html | 33 +++++ ...does-not-move-when-only-one-item-and-wraps.html | 29 ++++ .../does-not-move-when-only-one-item.html | 29 ++++ .../does-not-move-when-outside-focusgroup.html | 31 +++++ .../does-not-wrap-in-focusgroup-with-no-items.html | 35 +++++ .../does-not-wrap-when-not-supported.html | 30 +++++ .../descends-in-horizontal-inner-focusgroup.html | 30 +++++ .../does-not-move-when-axis-not-supported.html | 27 ++++ ...es-not-wrap-even-when-other-axis-supported.html | 31 +++++ .../moves-when-only-current-axis-supported.html | 28 ++++ ...focusgroup-that-extends-in-orthogonal-axis.html | 30 +++++ ...raps-and-skips-orthogonal-inner-focusgroup.html | 32 +++++ .../wraps-in-appropriate-focusgroup.html | 35 +++++ .../horizontal/wraps-in-inner-focusgroup.html | 33 +++++ .../moves-inside-extending-focusgroup.html | 34 +++++ ...moves-to-next-item-and-skips-non-focusable.html | 32 +++++ ...-to-next-item-outside-extending-focusgroup.html | 34 +++++ .../moves-to-next-item-within-descendants.html | 37 ++++++ .../forward-navigation/moves-to-next-item.html | 31 +++++ .../descends-in-vertical-inner-focusgroup.html | 30 +++++ .../does-not-move-when-axis-not-supported.html | 27 ++++ ...es-not-wrap-even-when-other-axis-supported.html | 31 +++++ .../moves-when-only-current-axis-supported.html | 28 ++++ ...focusgroup-that-extends-in-orthogonal-axis.html | 30 +++++ ...raps-and-skips-orthogonal-inner-focusgroup.html | 32 +++++ .../vertical/wraps-in-appropriate-focusgroup.html | 35 +++++ .../vertical/wraps-in-inner-focusgroup.html | 33 +++++ .../wraps-and-goes-into-inner-focusgroup.html | 34 +++++ .../forward-navigation/wraps-successfully.html | 31 +++++ .../wraps-to-parent-focusgroup.html | 34 +++++ .../tentative/grid-navigation/col-flow-only.html | 58 ++++++++ .../grid-navigation/col-wrap-and-row-flow.html | 60 +++++++++ .../tentative/grid-navigation/col-wrap-only.html | 58 ++++++++ .../tentative/grid-navigation/colspan.html | 93 +++++++++++++ .../grid-navigation/css-table-not-focusgroup.html | 32 +++++ .../tentative/grid-navigation/css-table.html | 44 ++++++ .../grid-navigation/does-not-wrap-or-flow.html | 56 ++++++++ .../tentative/grid-navigation/empty-spaces.html | 144 ++++++++++++++++++++ .../grid-navigation/flows-in-both-axes.html | 60 +++++++++ .../moves-across-table-sections.html | 97 ++++++++++++++ .../tentative/grid-navigation/non-table.html | 26 ++++ .../relayout-before-navigation.html | 39 ++++++ .../tentative/grid-navigation/row-flow-only.html | 58 ++++++++ .../grid-navigation/row-wrap-and-col-flow.html | 60 +++++++++ .../tentative/grid-navigation/row-wrap-only.html | 58 ++++++++ .../tentative/grid-navigation/rowspan.html | 148 +++++++++++++++++++++ ...case-with-non-focusable-cell-in-the-center.html | 65 +++++++++ .../tentative/grid-navigation/simple-case.html | 60 +++++++++ .../grid-navigation/wraps-in-both-axes.html | 60 +++++++++ .../tentative/resources/focusgroup-utils.js | 15 +++ .../focus-fixup-rule-one-no-dialogs.html | 109 +++++++++++++++ .../focus/processing-model/focusVisible.html | 65 +++++++++ .../focus/processing-model/legend-focusable.html | 17 +++ .../interaction/focus/processing-model/legend.html | 20 +++ .../preventScroll-nested-scroll-elements.html | 62 +++++++++ .../processing-model/preventScroll-textarea.html | 40 ++++++ .../focus/processing-model/preventScroll.html | 76 +++++++++++ .../support/preventScroll-helper.html | 6 + .../textarea-scroll-selection.html | 46 +++++++ .../focus-tabindex-default-value.html | 21 +++ .../focus-tabindex-negative.html | 45 +++++++ .../focus-tabindex-order.html | 65 +++++++++ .../focus-tabindex-positive.html | 44 ++++++ .../focus-tabindex-zero.html | 46 +++++++ .../resources/frameset-using-page.html | 6 + .../tabindex-getter-frame.html | 55 ++++++++ .../tabindex-getter.html | 95 +++++++++++++ .../interaction/focus/tabindex-focus-flag.html | 134 +++++++++++++++++++ .../the-autofocus-attribute/autofocus-dialog.html | 29 ++++ .../autofocus-in-not-fully-active-document.html | 16 +++ .../autofocus-on-stable-document.html | 21 +++ .../document-with-fragment-empty.html | 31 +++++ .../document-with-fragment-nonexistent.html | 31 +++++ .../document-with-fragment-top.html | 31 +++++ .../document-with-fragment-valid.html | 41 ++++++ .../the-autofocus-attribute/first-reconnected.html | 22 +++ .../first-when-later-but-before.html | 26 ++++ .../the-autofocus-attribute/first-when-later.html | 26 ++++ .../focus/the-autofocus-attribute/first.html | 24 ++++ .../focusable-area-in-top-document.html | 24 ++++ .../no-autofocus-on-changing-input-type.html | 27 ++++ .../no-cross-origin-autofocus.html | 44 ++++++ .../no-sandboxed-automatic-features.html | 17 +++ .../the-autofocus-attribute/not-on-first-task.html | 22 +++ .../queue-non-focusable.html | 20 +++ .../resources/child-autofocus.html | 20 +++ .../resources/child-iframe.html | 18 +++ .../resources/erase-first.css | 3 + .../resources/frame-with-anchor.html | 4 + .../resources/frame-with-autofocus-element.html | 5 + .../resources/grand-child-autofocus.html | 18 +++ .../resources/imagemap.html | 5 + .../resources/moving-autofocus-to-parent.html | 10 ++ .../the-autofocus-attribute/resources/utils.js | 41 ++++++ .../same-origin-autofocus.html | 48 +++++++ .../skip-another-top-level-browsing-context.html | 17 +++ .../skip-non-focusable.html | 19 +++ .../skip-not-fully-active.html | 18 +++ .../spin-by-blocking-style-sheet.html | 17 +++ .../supported-elements.html | 83 ++++++++++++ .../update-the-rendering.html | 40 ++++++ 148 files changed, 5479 insertions(+) create mode 100644 testing/web-platform/tests/html/interaction/focus/chrome-object-tab-focus-bug.html create mode 100644 testing/web-platform/tests/html/interaction/focus/composed.window.js create mode 100644 testing/web-platform/tests/html/interaction/focus/document-level-focus-apis/document-has-system-focus.html create mode 100644 testing/web-platform/tests/html/interaction/focus/document-level-focus-apis/document-level-apis.html create mode 100644 testing/web-platform/tests/html/interaction/focus/document-level-focus-apis/support/popup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/document-level-focus-apis/support/test.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focus-01.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focus-02.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focus-file-input.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focus-input-type-switch.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focus-keyboard-js.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focus-management/focus-event-targets-simple.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focus-management/focus-events.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focused-element-move-documents-crash.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/descends-into-extending-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-on-focusgroup-root.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-on-non-focusgroup-item.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-only-one-item-and-wraps.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-only-one-item.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-outside-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-wrap-when-not-supported.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/ascends-to-parent-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/does-not-ascend-out-of-non-extending-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/does-not-move-when-axis-not-supported.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/does-not-wrap-in-orthogonal-axis.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/moves-when-only-current-axis-supported.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/skips-focusgroup-that-extends-in-orthogonal-axis-complex-case.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/skips-focusgroup-that-extends-in-orthogonal-axis.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/wraps-in-axis.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/moves-to-previous-item-and-skips-focusable-item.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/moves-to-previous-item.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/skips-empty-wrapping-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/skips-non-focusgroup-subtree.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/skips-root-focusgroup-complex-case.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/skips-root-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/ascends-to-parent-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/does-not-ascend-out-of-non-extending-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/does-not-move-when-axis-not-supported.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/does-not-wrap-in-orthogonal-axis.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/moves-when-only-current-axis-supported.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/skips-focusgroup-that-extends-in-orthogonal-axis-complex-case.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/skips-focusgroup-that-extends-in-orthogonal-axis.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/wraps-in-axis.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/wraps-in-extending-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/wraps-successfully-complex-case.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/wraps-successfully.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-on-focusgroup-root.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-on-non-item.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-only-one-item-and-wraps.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-only-one-item.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-outside-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-wrap-in-focusgroup-with-no-items.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-wrap-when-not-supported.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/descends-in-horizontal-inner-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/does-not-move-when-axis-not-supported.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/does-not-wrap-even-when-other-axis-supported.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/moves-when-only-current-axis-supported.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/skips-focusgroup-that-extends-in-orthogonal-axis.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/wraps-and-skips-orthogonal-inner-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/wraps-in-appropriate-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/wraps-in-inner-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-inside-extending-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-to-next-item-and-skips-non-focusable.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-to-next-item-outside-extending-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-to-next-item-within-descendants.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-to-next-item.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/descends-in-vertical-inner-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/does-not-move-when-axis-not-supported.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/does-not-wrap-even-when-other-axis-supported.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/moves-when-only-current-axis-supported.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/skips-focusgroup-that-extends-in-orthogonal-axis.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/wraps-and-skips-orthogonal-inner-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/wraps-in-appropriate-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/wraps-in-inner-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/wraps-and-goes-into-inner-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/wraps-successfully.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/wraps-to-parent-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/col-flow-only.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/col-wrap-and-row-flow.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/col-wrap-only.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/colspan.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/css-table-not-focusgroup.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/css-table.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/does-not-wrap-or-flow.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/empty-spaces.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/flows-in-both-axes.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/moves-across-table-sections.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/non-table.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/relayout-before-navigation.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/row-flow-only.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/row-wrap-and-col-flow.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/row-wrap-only.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/rowspan.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/simple-case-with-non-focusable-cell-in-the-center.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/simple-case.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/wraps-in-both-axes.html create mode 100644 testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/resources/focusgroup-utils.js create mode 100644 testing/web-platform/tests/html/interaction/focus/processing-model/focus-fixup-rule-one-no-dialogs.html create mode 100644 testing/web-platform/tests/html/interaction/focus/processing-model/focusVisible.html create mode 100644 testing/web-platform/tests/html/interaction/focus/processing-model/legend-focusable.html create mode 100644 testing/web-platform/tests/html/interaction/focus/processing-model/legend.html create mode 100644 testing/web-platform/tests/html/interaction/focus/processing-model/preventScroll-nested-scroll-elements.html create mode 100644 testing/web-platform/tests/html/interaction/focus/processing-model/preventScroll-textarea.html create mode 100644 testing/web-platform/tests/html/interaction/focus/processing-model/preventScroll.html create mode 100644 testing/web-platform/tests/html/interaction/focus/processing-model/support/preventScroll-helper.html create mode 100644 testing/web-platform/tests/html/interaction/focus/processing-model/textarea-scroll-selection.html create mode 100644 testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-default-value.html create mode 100644 testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-negative.html create mode 100644 testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-order.html create mode 100644 testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-positive.html create mode 100644 testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-zero.html create mode 100644 testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/resources/frameset-using-page.html create mode 100644 testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/tabindex-getter-frame.html create mode 100644 testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/tabindex-getter.html create mode 100644 testing/web-platform/tests/html/interaction/focus/tabindex-focus-flag.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/autofocus-dialog.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/autofocus-in-not-fully-active-document.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/autofocus-on-stable-document.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-empty.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-nonexistent.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-top.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-valid.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/first-reconnected.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/first-when-later-but-before.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/first-when-later.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/first.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/focusable-area-in-top-document.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/no-autofocus-on-changing-input-type.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/no-cross-origin-autofocus.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/no-sandboxed-automatic-features.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/not-on-first-task.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/queue-non-focusable.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/child-autofocus.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/child-iframe.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/erase-first.css create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/frame-with-anchor.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/frame-with-autofocus-element.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/grand-child-autofocus.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/imagemap.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/moving-autofocus-to-parent.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/utils.js create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/same-origin-autofocus.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/skip-another-top-level-browsing-context.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/skip-non-focusable.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/skip-not-fully-active.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/spin-by-blocking-style-sheet.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/supported-elements.html create mode 100644 testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/update-the-rendering.html (limited to 'testing/web-platform/tests/html/interaction/focus') diff --git a/testing/web-platform/tests/html/interaction/focus/chrome-object-tab-focus-bug.html b/testing/web-platform/tests/html/interaction/focus/chrome-object-tab-focus-bug.html new file mode 100644 index 0000000000..5127ee1cb6 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/chrome-object-tab-focus-bug.html @@ -0,0 +1,43 @@ + + +Tabbing through object tag + + + + + + + + +

Pressing TAB twice should focus/highlight end checkbox

+ +start + +end + + diff --git a/testing/web-platform/tests/html/interaction/focus/composed.window.js b/testing/web-platform/tests/html/interaction/focus/composed.window.js new file mode 100644 index 0000000000..8951afc4e0 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/composed.window.js @@ -0,0 +1,16 @@ +async_test(t => { + const input = document.body.appendChild(document.createElement("input")); + let happened = false; + input.onfocus = t.step_func(e => { + happened = true; + assert_equals(e.type, "focus"); + assert_true(e.composed); + }); + input.focus(); + input.onblur = t.step_func_done(e => { + assert_true(happened); + assert_equals(e.type, "blur"); + assert_true(e.composed); + }); + input.blur(); +}, "Focus events are composed"); diff --git a/testing/web-platform/tests/html/interaction/focus/document-level-focus-apis/document-has-system-focus.html b/testing/web-platform/tests/html/interaction/focus/document-level-focus-apis/document-has-system-focus.html new file mode 100644 index 0000000000..26f0bbbd09 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/document-level-focus-apis/document-has-system-focus.html @@ -0,0 +1,44 @@ + + +HTML Test: focus - document has system focus + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/document-level-focus-apis/document-level-apis.html b/testing/web-platform/tests/html/interaction/focus/document-level-focus-apis/document-level-apis.html new file mode 100644 index 0000000000..4a8a9a291a --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/document-level-focus-apis/document-level-apis.html @@ -0,0 +1,34 @@ + + +HTML Test: focus - document-level APIs + + + + +
+ + + diff --git a/testing/web-platform/tests/html/interaction/focus/document-level-focus-apis/support/popup.html b/testing/web-platform/tests/html/interaction/focus/document-level-focus-apis/support/popup.html new file mode 100644 index 0000000000..3a4419105a --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/document-level-focus-apis/support/popup.html @@ -0,0 +1,18 @@ + + +Popup + + diff --git a/testing/web-platform/tests/html/interaction/focus/document-level-focus-apis/support/test.html b/testing/web-platform/tests/html/interaction/focus/document-level-focus-apis/support/test.html new file mode 100644 index 0000000000..90d63e51e9 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/document-level-focus-apis/support/test.html @@ -0,0 +1,5 @@ + + +HTML Test: focus - document-level APIs + + diff --git a/testing/web-platform/tests/html/interaction/focus/focus-01.html b/testing/web-platform/tests/html/interaction/focus/focus-01.html new file mode 100644 index 0000000000..b8faca54d8 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focus-01.html @@ -0,0 +1,45 @@ + + +HTML Test: focus - key events + + + + + + + + + +
+ + diff --git a/testing/web-platform/tests/html/interaction/focus/focus-02.html b/testing/web-platform/tests/html/interaction/focus/focus-02.html new file mode 100644 index 0000000000..2e765ca152 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focus-02.html @@ -0,0 +1,38 @@ + + +HTML Test: focus - key events + + + + + + + + + +
+ diff --git a/testing/web-platform/tests/html/interaction/focus/focus-file-input.html b/testing/web-platform/tests/html/interaction/focus/focus-file-input.html new file mode 100644 index 0000000000..d3007112ff --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focus-file-input.html @@ -0,0 +1,18 @@ + + +HTML Test: file input can be programatically focused before layout + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/focus-input-type-switch.html b/testing/web-platform/tests/html/interaction/focus/focus-input-type-switch.html new file mode 100644 index 0000000000..eeebe488bf --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focus-input-type-switch.html @@ -0,0 +1,26 @@ + + +Inputs remain focusable upon changing type + + + + + + + +

Can still focus on inputs that change types

+ + diff --git a/testing/web-platform/tests/html/interaction/focus/focus-keyboard-js.html b/testing/web-platform/tests/html/interaction/focus/focus-keyboard-js.html new file mode 100644 index 0000000000..8a7242f37e --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focus-keyboard-js.html @@ -0,0 +1,26 @@ + + + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/focus-management/focus-event-targets-simple.html b/testing/web-platform/tests/html/interaction/focus/focus-management/focus-event-targets-simple.html new file mode 100644 index 0000000000..ab7bcfe6d0 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focus-management/focus-event-targets-simple.html @@ -0,0 +1,33 @@ + + + + + Focus events fire at correct targets in correct order in simple case + + + + + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/focus-management/focus-events.html b/testing/web-platform/tests/html/interaction/focus/focus-management/focus-events.html new file mode 100644 index 0000000000..5f8ca20a13 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focus-management/focus-events.html @@ -0,0 +1,33 @@ + + +Focus management + + + + +
+ + + diff --git a/testing/web-platform/tests/html/interaction/focus/focused-element-move-documents-crash.html b/testing/web-platform/tests/html/interaction/focus/focused-element-move-documents-crash.html new file mode 100644 index 0000000000..ca9ab26edd --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focused-element-move-documents-crash.html @@ -0,0 +1,16 @@ + + + + + + +
+ + diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/descends-into-extending-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/descends-into-extending-focusgroup.html new file mode 100644 index 0000000000..2590bc3250 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/descends-into-extending-focusgroup.html @@ -0,0 +1,37 @@ + + +HTML Test: focusgroup - Focus moves to previous item within extending focusgroup. + + + + + + + + + +
+ item1 +
+
+ item2 + item3 +
+
+ item4 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-on-focusgroup-root.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-on-focusgroup-root.html new file mode 100644 index 0000000000..3dd9cf2da5 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-on-focusgroup-root.html @@ -0,0 +1,30 @@ + + +HTML Test: focusgroup - Focus does not move when initially set on the focusgroup root. + + + + + + + + + +
+ item1 + item2 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-on-non-focusgroup-item.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-on-non-focusgroup-item.html new file mode 100644 index 0000000000..0ec7827664 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-on-non-focusgroup-item.html @@ -0,0 +1,33 @@ + + +HTML Test: focusgroup - Focus does not move when initially set a focusable element that isn't a focusgroup item. + + + + + + + + + +
+ item1 + item2 +
+ nonitem1 +
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-only-one-item-and-wraps.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-only-one-item-and-wraps.html new file mode 100644 index 0000000000..475acdc7f1 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-only-one-item-and-wraps.html @@ -0,0 +1,29 @@ + + +HTML Test: focusgroup - Focus does not move when there is only one item, even though it wraps. + + + + + + + + + +
+ item1 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-only-one-item.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-only-one-item.html new file mode 100644 index 0000000000..f046769459 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-only-one-item.html @@ -0,0 +1,29 @@ + + +HTML Test: focusgroup - Focus does not move when there is only one item. + + + + + + + + + +
+ item1 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-outside-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-outside-focusgroup.html new file mode 100644 index 0000000000..78ee0dadeb --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-move-when-outside-focusgroup.html @@ -0,0 +1,31 @@ + + +HTML Test: focusgroup - Focus does not move when initially set on an element not included in the focusgroup. + + + + + + + + + +
+ item1 + item2 +
+out + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-wrap-when-not-supported.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-wrap-when-not-supported.html new file mode 100644 index 0000000000..742daedfef --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/does-not-wrap-when-not-supported.html @@ -0,0 +1,30 @@ + + +HTML Test: focusgroup - Focus does not wrap when 'wrap' not specified. + + + + + + + + + +
+ item1 + item2 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/ascends-to-parent-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/ascends-to-parent-focusgroup.html new file mode 100644 index 0000000000..00ef3db90c --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/ascends-to-parent-focusgroup.html @@ -0,0 +1,36 @@ + + +HTML Test: focusgroup - Focus ascends to parent focusgroup successfully. + + + + + + + + + +
+ item1 +
+
+
+ item3 + item4 +
+
+
+ item5 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/does-not-ascend-out-of-non-extending-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/does-not-ascend-out-of-non-extending-focusgroup.html new file mode 100644 index 0000000000..b00958719d --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/does-not-ascend-out-of-non-extending-focusgroup.html @@ -0,0 +1,30 @@ + + +HTML Test: focusgroup - Focus does not ascend out of current focusgroup if it does not extend the parent focusgroup. + + + + + + + + + +
    +
  • +
      +
    • item2
    • +
    +
  • +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/does-not-move-when-axis-not-supported.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/does-not-move-when-axis-not-supported.html new file mode 100644 index 0000000000..e671a25844 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/does-not-move-when-axis-not-supported.html @@ -0,0 +1,27 @@ + + +HTML Test: focusgroup - Focus does not move to previous focusgroup item when the axis of the arrow key pressed isn't supported. + + + + + + + + + +
+ item1 + item2 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/does-not-wrap-in-orthogonal-axis.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/does-not-wrap-in-orthogonal-axis.html new file mode 100644 index 0000000000..de09fa813c --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/does-not-wrap-in-orthogonal-axis.html @@ -0,0 +1,28 @@ + + +HTML Test: focusgroup - Focus does not wrap in the arrow key pressed orthogonal axis. + + + + + + + + + +
+ item1 + item2 + item3 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/moves-when-only-current-axis-supported.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/moves-when-only-current-axis-supported.html new file mode 100644 index 0000000000..12f7934866 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/moves-when-only-current-axis-supported.html @@ -0,0 +1,28 @@ + + +HTML Test: focusgroup - Focus moves to previous focusgroup item when only the axis of the arrow key pressed is supported. + + + + + + + + + +
+ item1 + item2 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/skips-focusgroup-that-extends-in-orthogonal-axis-complex-case.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/skips-focusgroup-that-extends-in-orthogonal-axis-complex-case.html new file mode 100644 index 0000000000..2fadddac27 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/skips-focusgroup-that-extends-in-orthogonal-axis-complex-case.html @@ -0,0 +1,38 @@ + + +HTML Test: focusgroup - Focus moves to previous item, skipping the focusgroup that extends in the orthogonal axis (complex case). + + + + + + + + + +
+ item1 +
+
+
+
+ item3 + item4 +
+
+
+
+ item5 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/skips-focusgroup-that-extends-in-orthogonal-axis.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/skips-focusgroup-that-extends-in-orthogonal-axis.html new file mode 100644 index 0000000000..44dace8461 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/skips-focusgroup-that-extends-in-orthogonal-axis.html @@ -0,0 +1,34 @@ + + +HTML Test: focusgroup - Focus moves to previous item, skipping the focusgroup that extends in the orthogonal axis. + + + + + + + + + +
+ item1 +
+
+ item2 + item3 +
+
+ item4 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/wraps-in-axis.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/wraps-in-axis.html new file mode 100644 index 0000000000..956d3f6406 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/horizontal/wraps-in-axis.html @@ -0,0 +1,29 @@ + + +HTML Test: focusgroup - Focus wraps in the arrow key pressed axis. + + + + + + + + + +
+ item1 + item2 + item3 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/moves-to-previous-item-and-skips-focusable-item.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/moves-to-previous-item-and-skips-focusable-item.html new file mode 100644 index 0000000000..9bab38a24d --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/moves-to-previous-item-and-skips-focusable-item.html @@ -0,0 +1,32 @@ + + +HTML Test: focusgroup - Focus moves to previous item and skips non-focusable elements. + + + + + + + + + +
+ item1 + item2 + item3 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/moves-to-previous-item.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/moves-to-previous-item.html new file mode 100644 index 0000000000..228a4aad63 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/moves-to-previous-item.html @@ -0,0 +1,31 @@ + + +HTML Test: focusgroup - Focus moves to previous focusgroup item. + + + + + + + + + +
+ item1 + item2 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/skips-empty-wrapping-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/skips-empty-wrapping-focusgroup.html new file mode 100644 index 0000000000..fb0b66e30e --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/skips-empty-wrapping-focusgroup.html @@ -0,0 +1,37 @@ + + +HTML Test: focusgroup - Focus moves to previous item, skipping over an empty extending focusgroup that wraps on itself. + + + + + + + + + +
+ item1 +
+
+ item2 + item3 +
+
+ item4 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/skips-non-focusgroup-subtree.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/skips-non-focusgroup-subtree.html new file mode 100644 index 0000000000..140950202b --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/skips-non-focusgroup-subtree.html @@ -0,0 +1,35 @@ + + +HTML Test: focusgroup - Focus moves to previous item, skipping over a subtree that isn't an extending focusgroup. + + + + + + + + + +
+ item1 +
+ item2 + item3 +
+ item4 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/skips-root-focusgroup-complex-case.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/skips-root-focusgroup-complex-case.html new file mode 100644 index 0000000000..79731e7b2a --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/skips-root-focusgroup-complex-case.html @@ -0,0 +1,41 @@ + + +HTML Test: focusgroup - Focus moves to previous item and skips focusgroup root subtree (complex case). + + + + + + + + + +
+ item1 +
+
+
+
+ item3 + item4 +
+
+
+
+ item5 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/skips-root-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/skips-root-focusgroup.html new file mode 100644 index 0000000000..c40ce02b5d --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/skips-root-focusgroup.html @@ -0,0 +1,37 @@ + + +HTML Test: focusgroup - Focus moves to previous item, skipping over a subtree that is a root focusgroup (unrelated to the one we're in). + + + + + + + + + +
+ item1 +
+
+ item2 + item3 +
+
+ item4 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/ascends-to-parent-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/ascends-to-parent-focusgroup.html new file mode 100644 index 0000000000..b95f2c527b --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/ascends-to-parent-focusgroup.html @@ -0,0 +1,36 @@ + + +HTML Test: focusgroup - Focus ascends to parent focusgroup successfully. + + + + + + + + + +
+ item1 +
+
+
+ item3 + item4 +
+
+
+ item5 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/does-not-ascend-out-of-non-extending-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/does-not-ascend-out-of-non-extending-focusgroup.html new file mode 100644 index 0000000000..08dc466603 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/does-not-ascend-out-of-non-extending-focusgroup.html @@ -0,0 +1,30 @@ + + +HTML Test: focusgroup - Focus does not ascend out of current focusgroup if it does not extend the parent focusgroup. + + + + + + + + + +
    +
  • +
      +
    • item2
    • +
    +
  • +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/does-not-move-when-axis-not-supported.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/does-not-move-when-axis-not-supported.html new file mode 100644 index 0000000000..0cf6ad3be2 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/does-not-move-when-axis-not-supported.html @@ -0,0 +1,27 @@ + + +HTML Test: focusgroup - Focus does not move to previous focusgroup item when the axis of the arrow key pressed isn't supported. + + + + + + + + + +
+ item1 + item2 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/does-not-wrap-in-orthogonal-axis.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/does-not-wrap-in-orthogonal-axis.html new file mode 100644 index 0000000000..0ec4f02247 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/does-not-wrap-in-orthogonal-axis.html @@ -0,0 +1,28 @@ + + +HTML Test: focusgroup - Focus does not wrap in the arrow key pressed orthogonal axis. + + + + + + + + + +
+ item1 + item2 + item3 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/moves-when-only-current-axis-supported.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/moves-when-only-current-axis-supported.html new file mode 100644 index 0000000000..ad46be76b2 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/moves-when-only-current-axis-supported.html @@ -0,0 +1,28 @@ + + +HTML Test: focusgroup - Focus moves to previous focusgroup item when only the axis of the arrow key pressed is supported. + + + + + + + + + +
+ item1 + item2 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/skips-focusgroup-that-extends-in-orthogonal-axis-complex-case.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/skips-focusgroup-that-extends-in-orthogonal-axis-complex-case.html new file mode 100644 index 0000000000..86ea79122c --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/skips-focusgroup-that-extends-in-orthogonal-axis-complex-case.html @@ -0,0 +1,38 @@ + + +HTML Test: focusgroup - Focus moves to previous item, skipping the focusgroup that extends in the orthogonal axis (complex case). + + + + + + + + + +
+ item1 +
+
+
+
+ item3 + item4 +
+
+
+
+ item5 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/skips-focusgroup-that-extends-in-orthogonal-axis.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/skips-focusgroup-that-extends-in-orthogonal-axis.html new file mode 100644 index 0000000000..960b8604b0 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/skips-focusgroup-that-extends-in-orthogonal-axis.html @@ -0,0 +1,34 @@ + + +HTML Test: focusgroup - Focus moves to previous item, skipping the focusgroup that extends in the orthogonal axis. + + + + + + + + + +
+ item1 +
+
+ item2 + item3 +
+
+ item4 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/wraps-in-axis.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/wraps-in-axis.html new file mode 100644 index 0000000000..fdccee9742 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/vertical/wraps-in-axis.html @@ -0,0 +1,29 @@ + + +HTML Test: focusgroup - Focus wraps in the arrow key pressed axis. + + + + + + + + + +
+ item1 + item2 + item3 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/wraps-in-extending-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/wraps-in-extending-focusgroup.html new file mode 100644 index 0000000000..6727d93f75 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/wraps-in-extending-focusgroup.html @@ -0,0 +1,43 @@ + + +HTML Test: focusgroup - Focus wraps from first to last element when 'wrap' is specified (jumping into extending focusgroup). + + + + + + + + + +
+
+ item1 +
+ item2 + item3 +
+
+ item4 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/wraps-successfully-complex-case.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/wraps-successfully-complex-case.html new file mode 100644 index 0000000000..11ebea349d --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/wraps-successfully-complex-case.html @@ -0,0 +1,40 @@ + + +HTML Test: focusgroup - Focus wraps from first to last focusgroup item, even though there are non items in the way. + + + + + + + + + +
+
+ nonitem1 + nonitem2 +
+ item1 + item2 + item3 +
+ nonitem3 + nonitem4 +
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/wraps-successfully.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/wraps-successfully.html new file mode 100644 index 0000000000..19df794e19 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/backward-navigation/wraps-successfully.html @@ -0,0 +1,32 @@ + + +HTML Test: focusgroup - Focus wraps from first to last element when 'wrap' is specified. + + + + + + + + + +
+ item1 + item2 + item3 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-on-focusgroup-root.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-on-focusgroup-root.html new file mode 100644 index 0000000000..30c70ad3b3 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-on-focusgroup-root.html @@ -0,0 +1,30 @@ + + +HTML Test: focusgroup - Focus does not move when initially set on the focusgroup root. + + + + + + + + + +
+ item1 + item2 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-on-non-item.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-on-non-item.html new file mode 100644 index 0000000000..3afcd184c1 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-on-non-item.html @@ -0,0 +1,33 @@ + + +HTML Test: focusgroup - Focus does not move when initially set a focusable element that isn't a focusgroup item. + + + + + + + + + +
+
+ nonitem1 +
+ item1 + item2 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-only-one-item-and-wraps.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-only-one-item-and-wraps.html new file mode 100644 index 0000000000..20cc5eb57d --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-only-one-item-and-wraps.html @@ -0,0 +1,29 @@ + + +HTML Test: focusgroup - Focus does not move when there is only one item, even though it wraps. + + + + + + + + + +
+ item1 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-only-one-item.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-only-one-item.html new file mode 100644 index 0000000000..0178494d87 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-only-one-item.html @@ -0,0 +1,29 @@ + + +HTML Test: focusgroup - Focus does not move when there is only one item. + + + + + + + + + +
+ item1 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-outside-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-outside-focusgroup.html new file mode 100644 index 0000000000..1c35805f80 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-move-when-outside-focusgroup.html @@ -0,0 +1,31 @@ + + +HTML Test: focusgroup - Focus does not move when initially set on an element not included in the focusgroup. + + + + + + + + + +out +
+ item1 + item2 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-wrap-in-focusgroup-with-no-items.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-wrap-in-focusgroup-with-no-items.html new file mode 100644 index 0000000000..602feed001 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-wrap-in-focusgroup-with-no-items.html @@ -0,0 +1,35 @@ + + +HTML Test: focusgroup - Focus does not wrap in wrapping extending focusgroup that doesn't have focusgroup items. + + + + + + + + + +
+ item1 +
+ item2 + item3 +
+ item4 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-wrap-when-not-supported.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-wrap-when-not-supported.html new file mode 100644 index 0000000000..550a4ba8a1 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/does-not-wrap-when-not-supported.html @@ -0,0 +1,30 @@ + + +HTML Test: focusgroup - Focus does not wrap when not supported. + + + + + + + + + +
+ item1 + item2 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/descends-in-horizontal-inner-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/descends-in-horizontal-inner-focusgroup.html new file mode 100644 index 0000000000..3d0d7f0fa5 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/descends-in-horizontal-inner-focusgroup.html @@ -0,0 +1,30 @@ + + +HTML Test: focusgroup - Focus descends from vertical focusgroup into horizontal focusgroup. + + + + + + + + + +
+ item1 +
+ item2 +
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/does-not-move-when-axis-not-supported.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/does-not-move-when-axis-not-supported.html new file mode 100644 index 0000000000..ebf7238c54 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/does-not-move-when-axis-not-supported.html @@ -0,0 +1,27 @@ + + +HTML Test: focusgroup - Focus does not move to next focusgroup item when the axis of the arrow key pressed isn't supported. + + + + + + + + + +
+ item1 + item2 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/does-not-wrap-even-when-other-axis-supported.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/does-not-wrap-even-when-other-axis-supported.html new file mode 100644 index 0000000000..19535e1df9 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/does-not-wrap-even-when-other-axis-supported.html @@ -0,0 +1,31 @@ + + +HTML Test: focusgroup - Does not wrap when the arrow keypress is supported but the focusgroup only wraps in the other axis. + + + + + + + + + +
+ item1 +
+ + item3 + item4 +
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/moves-when-only-current-axis-supported.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/moves-when-only-current-axis-supported.html new file mode 100644 index 0000000000..9ae9892c1d --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/moves-when-only-current-axis-supported.html @@ -0,0 +1,28 @@ + + +HTML Test: focusgroup - Focus moves to next focusgroup item when only the axis of the arrow key pressed is supported. + + + + + + + + + +
+ item1 + item2 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/skips-focusgroup-that-extends-in-orthogonal-axis.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/skips-focusgroup-that-extends-in-orthogonal-axis.html new file mode 100644 index 0000000000..05f8268895 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/skips-focusgroup-that-extends-in-orthogonal-axis.html @@ -0,0 +1,30 @@ + + +HTML Test: focusgroup - Focus moves to next item, skipping the focusgroup that extends in the orthogonal axis. + + + + + + + + + +
+
+ item2 +
+ item3 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/wraps-and-skips-orthogonal-inner-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/wraps-and-skips-orthogonal-inner-focusgroup.html new file mode 100644 index 0000000000..af79ca24c6 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/wraps-and-skips-orthogonal-inner-focusgroup.html @@ -0,0 +1,32 @@ + + +HTML Test: focusgroup - Focus wraps and skips the orthogonal inner focusgroup. + + + + + + + + + +
+
+ item1 + item2 +
+ item3 + item4 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/wraps-in-appropriate-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/wraps-in-appropriate-focusgroup.html new file mode 100644 index 0000000000..80290c9918 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/wraps-in-appropriate-focusgroup.html @@ -0,0 +1,35 @@ + + +HTML Test: focusgroup - Focus wraps in the appropriate focusgroup. + + + + + + + + + +
+
+ item1 +
+ + item3 + item4 +
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/wraps-in-inner-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/wraps-in-inner-focusgroup.html new file mode 100644 index 0000000000..ab33842340 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/horizontal/wraps-in-inner-focusgroup.html @@ -0,0 +1,33 @@ + + +HTML Test: focusgroup - Focus wraps in the inner focusgroup only since the outer focusgroup only wraps in the other axis. + + + + + + + + + +
+ item1 +
+ + item3 + item4 +
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-inside-extending-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-inside-extending-focusgroup.html new file mode 100644 index 0000000000..bea7b959c5 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-inside-extending-focusgroup.html @@ -0,0 +1,34 @@ + + +HTML Test: focusgroup - Focus moves to next item inside an extending focusgroup. + + + + + + + + + +
+
+ item2 + item3 +
+ item4 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-to-next-item-and-skips-non-focusable.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-to-next-item-and-skips-non-focusable.html new file mode 100644 index 0000000000..a5d6e306ed --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-to-next-item-and-skips-non-focusable.html @@ -0,0 +1,32 @@ + + +HTML Test: focusgroup - Focus moves to next item and skips non-focusable elements. + + + + + + + + + +
+ item1 + item2 + item3 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-to-next-item-outside-extending-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-to-next-item-outside-extending-focusgroup.html new file mode 100644 index 0000000000..f5a74ced5f --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-to-next-item-outside-extending-focusgroup.html @@ -0,0 +1,34 @@ + + +HTML Test: focusgroup - Focus moves to next item outside the extending focusgroup. + + + + + + + + + +
+
+ item2 + item3 +
+ item4 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-to-next-item-within-descendants.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-to-next-item-within-descendants.html new file mode 100644 index 0000000000..97355ec2da --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-to-next-item-within-descendants.html @@ -0,0 +1,37 @@ + + +HTML Test: focusgroup - Focus moves to next item within its descendants. + + + + + + + + + +
+
+
+
+ item2 +
+
+
+ item4 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-to-next-item.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-to-next-item.html new file mode 100644 index 0000000000..747805d7b5 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/moves-to-next-item.html @@ -0,0 +1,31 @@ + + +HTML Test: focusgroup - Focus moves to next focusgroup item. + + + + + + + + + +
+ item1 + item2 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/descends-in-vertical-inner-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/descends-in-vertical-inner-focusgroup.html new file mode 100644 index 0000000000..4f6f8e9459 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/descends-in-vertical-inner-focusgroup.html @@ -0,0 +1,30 @@ + + +HTML Test: focusgroup - Focus descends from horizontal focusgroup into vertical focusgroup. + + + + + + + + + +
+ item1 +
+ item2 +
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/does-not-move-when-axis-not-supported.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/does-not-move-when-axis-not-supported.html new file mode 100644 index 0000000000..794f079418 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/does-not-move-when-axis-not-supported.html @@ -0,0 +1,27 @@ + + +HTML Test: focusgroup - Focus does not move to next focusgroup item when the axis of the arrow key pressed isn't supported. + + + + + + + + + +
+ item1 + item2 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/does-not-wrap-even-when-other-axis-supported.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/does-not-wrap-even-when-other-axis-supported.html new file mode 100644 index 0000000000..f7b697e5c0 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/does-not-wrap-even-when-other-axis-supported.html @@ -0,0 +1,31 @@ + + +HTML Test: focusgroup - Does not wrap when the arrow keypress is supported but the focusgroup only wraps in the other axis. + + + + + + + + + +
+ item1 +
+ + item3 + item4 +
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/moves-when-only-current-axis-supported.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/moves-when-only-current-axis-supported.html new file mode 100644 index 0000000000..b5b97cca67 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/moves-when-only-current-axis-supported.html @@ -0,0 +1,28 @@ + + +HTML Test: focusgroup - Focus moves to next focusgroup item when only the axis of the arrow key pressed is supported. + + + + + + + + + +
+ item1 + item2 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/skips-focusgroup-that-extends-in-orthogonal-axis.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/skips-focusgroup-that-extends-in-orthogonal-axis.html new file mode 100644 index 0000000000..4fe753126b --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/skips-focusgroup-that-extends-in-orthogonal-axis.html @@ -0,0 +1,30 @@ + + +HTML Test: focusgroup - Focus moves to next item, skipping the focusgroup that extends in the orthogonal axis. + + + + + + + + + +
+
+ item2 +
+ item3 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/wraps-and-skips-orthogonal-inner-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/wraps-and-skips-orthogonal-inner-focusgroup.html new file mode 100644 index 0000000000..64a4b76ebf --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/wraps-and-skips-orthogonal-inner-focusgroup.html @@ -0,0 +1,32 @@ + + +HTML Test: focusgroup - Focus wraps and skips the orthogonal inner focusgroup. + + + + + + + + + +
+
+ item1 + item2 +
+ item3 + item4 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/wraps-in-appropriate-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/wraps-in-appropriate-focusgroup.html new file mode 100644 index 0000000000..fa9c72b0bd --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/wraps-in-appropriate-focusgroup.html @@ -0,0 +1,35 @@ + + +HTML Test: focusgroup - Focus wraps in the appropriate focusgroup. + + + + + + + + + +
+
+ item1 +
+ + item3 + item4 +
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/wraps-in-inner-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/wraps-in-inner-focusgroup.html new file mode 100644 index 0000000000..8fd44ba0f1 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/vertical/wraps-in-inner-focusgroup.html @@ -0,0 +1,33 @@ + + +HTML Test: focusgroup - Focus wraps in the inner focusgroup only since the outer focusgroup only wraps in the other axis. + + + + + + + + + +
+ item1 +
+ + item3 + item4 +
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/wraps-and-goes-into-inner-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/wraps-and-goes-into-inner-focusgroup.html new file mode 100644 index 0000000000..ea9b1cbec5 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/wraps-and-goes-into-inner-focusgroup.html @@ -0,0 +1,34 @@ + + +HTML Test: focusgroup - Wraps and goes into inner focusgroup. + + + + + + + + + +
+
+ item1 + item2 +
+ item3 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/wraps-successfully.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/wraps-successfully.html new file mode 100644 index 0000000000..5ad1cd8fe9 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/wraps-successfully.html @@ -0,0 +1,31 @@ + + +HTML Test: focusgroup - Focus wraps successfully from the last item to the first one. + + + + + + + + + +
+ item1 + item2 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/wraps-to-parent-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/wraps-to-parent-focusgroup.html new file mode 100644 index 0000000000..afb9744b71 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/forward-navigation/wraps-to-parent-focusgroup.html @@ -0,0 +1,34 @@ + + +HTML Test: focusgroup - Focus wraps successfully from the last item inside an extending focusgroup to the first item of the parent focusgroup. + + + + + + + + + +
+ item1 +
+ item3 + item4 +
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/col-flow-only.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/col-flow-only.html new file mode 100644 index 0000000000..a634412d53 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/col-flow-only.html @@ -0,0 +1,58 @@ + + +HTML Test: focusgroup - Validate that col-flow allows only vertical flowing. + + + + + + + + + + + + + + + + + + + + +
r1c1r1c2r1c3
r2c1r2c2r2c3
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/col-wrap-and-row-flow.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/col-wrap-and-row-flow.html new file mode 100644 index 0000000000..b5f678a706 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/col-wrap-and-row-flow.html @@ -0,0 +1,60 @@ + + +HTML Test: focusgroup - Validate that we can col-wrap AND row-flow. + + + + + + + + + + + + + + + + + + + + +
r1c1r1c2r1c3
r2c1r2c2r2c3
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/col-wrap-only.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/col-wrap-only.html new file mode 100644 index 0000000000..ff19b8778e --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/col-wrap-only.html @@ -0,0 +1,58 @@ + + +HTML Test: focusgroup - Validate that col-wrap allows only vertical wrapping. + + + + + + + + + + + + + + + + + + + + +
r1c1r1c2r1c3
r2c1r2c2r2c3
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/colspan.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/colspan.html new file mode 100644 index 0000000000..c9daeffaeb --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/colspan.html @@ -0,0 +1,93 @@ + + +HTML Test: focusgroup - Validate that we deal correctly with colspans. + + + + + + + + + + + + + + + + + + + + + +
r1c1r1c2r1c4
r2c1r2c2r2c3r2c4
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/css-table-not-focusgroup.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/css-table-not-focusgroup.html new file mode 100644 index 0000000000..c0aea689ae --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/css-table-not-focusgroup.html @@ -0,0 +1,32 @@ + + +HTML Test: focusgroup - Validate that Focusgroup doesn't work on CSS table when the focusgroup attribute is not present. + + + + + + + + + +
+
+
r1c1
+
r1c2
+
+
+
r2c1
+
r2c2
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/css-table.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/css-table.html new file mode 100644 index 0000000000..45e1e2c472 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/css-table.html @@ -0,0 +1,44 @@ + + +HTML Test: focusgroup - Validate that Focusgroup works with CSS tables too. + + + + + + + + + +
+
+
r1c1
+
r1c2
+
+
+
r2c1
+
r2c2
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/does-not-wrap-or-flow.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/does-not-wrap-or-flow.html new file mode 100644 index 0000000000..050dec3622 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/does-not-wrap-or-flow.html @@ -0,0 +1,56 @@ + + +HTML Test: focusgroup - Simple case that validated we don't wrap or flow when these values aren't provided. + + + + + + + + + + + + + + + + + + + + +
r1c1r1c2r1c3
r2c1r2c2r2c3
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/empty-spaces.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/empty-spaces.html new file mode 100644 index 0000000000..90a09e1a94 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/empty-spaces.html @@ -0,0 +1,144 @@ + + +HTML Test: focusgroup - Validate that empty spaces are not troubling our expectations. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
r1c1r1c3r1c4r1c5r1c6r1c7
r2c3
r3c1r3c2
r4c1r4c6
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/flows-in-both-axes.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/flows-in-both-axes.html new file mode 100644 index 0000000000..86fc25456b --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/flows-in-both-axes.html @@ -0,0 +1,60 @@ + + +HTML Test: focusgroup - Validate that flow allows both horizontal and vertical flowing. + + + + + + + + + + + + + + + + + + + + +
r1c1r1c2r1c3
r2c1r2c2r2c3
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/moves-across-table-sections.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/moves-across-table-sections.html new file mode 100644 index 0000000000..d7d1b55f45 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/moves-across-table-sections.html @@ -0,0 +1,97 @@ + + +HTML Test: focusgroup - Table with one or less row per section (head, 2 bodies and foot). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
r1c1
r2c1
r3c1
r4c1
r5c1
r6c1
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/non-table.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/non-table.html new file mode 100644 index 0000000000..c02de186e6 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/non-table.html @@ -0,0 +1,26 @@ + + +HTML Test: focusgroup - Validate that Focusgroup doesn't work when not set on a table element + + + + + + + + + +
+ nonitem1 + nonitem2 +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/relayout-before-navigation.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/relayout-before-navigation.html new file mode 100644 index 0000000000..d1fd0ce6eb --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/relayout-before-navigation.html @@ -0,0 +1,39 @@ + + +HTML Test: focusgroup - Relayout before navigating in a grid + + + + + + + + + + + + + + + + + + + +
item1
item2
item3
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/row-flow-only.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/row-flow-only.html new file mode 100644 index 0000000000..138b1b33d5 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/row-flow-only.html @@ -0,0 +1,58 @@ + + +HTML Test: focusgroup - Validate that row-flow allows only horizontal flowing. + + + + + + + + + + + + + + + + + + + + +
r1c1r1c2r1c3
r2c1r2c2r2c3
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/row-wrap-and-col-flow.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/row-wrap-and-col-flow.html new file mode 100644 index 0000000000..8ed69e2e3e --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/row-wrap-and-col-flow.html @@ -0,0 +1,60 @@ + + +HTML Test: focusgroup - Validate that we can row-wrap AND col-flow. + + + + + + + + + + + + + + + + + + + + +
r1c1r1c2r1c3
r2c1r2c2r2c3
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/row-wrap-only.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/row-wrap-only.html new file mode 100644 index 0000000000..0154ee2125 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/row-wrap-only.html @@ -0,0 +1,58 @@ + + +HTML Test: focusgroup - Validate that row-wrap allows only horizontal wrapping. + + + + + + + + + + + + + + + + + + + + +
r1c1r1c2r1c3
r2c1r2c2r2c3
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/rowspan.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/rowspan.html new file mode 100644 index 0000000000..81ab54ef8e --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/rowspan.html @@ -0,0 +1,148 @@ + + +HTML Test: focusgroup - Validate that we deal correctly with rowspans. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
r1c1r1c2r1c3
r2c1r2c2r3c3
r3c1r3c3
r4c1r4c3
r5c1r5c2r5c3
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/simple-case-with-non-focusable-cell-in-the-center.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/simple-case-with-non-focusable-cell-in-the-center.html new file mode 100644 index 0000000000..25d2900a9f --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/simple-case-with-non-focusable-cell-in-the-center.html @@ -0,0 +1,65 @@ + + +HTML Test: focusgroup - Simple case with grid focusgroup, but with the cell R2C2 not focusable. + + + + + + + + + + + + + + + + + + + + + + + + + +
r1c1r1c2r1c3
r2c1r2c2r2c3
r3c1r3c2r3c3
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/simple-case.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/simple-case.html new file mode 100644 index 0000000000..738895ce0b --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/simple-case.html @@ -0,0 +1,60 @@ + + +HTML Test: focusgroup - Simple case with grid focusgroup + + + + + + + + + + + + + + + + + + + + +
r1c1r1c2r1c3
r2c1r2c2r2c3
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/wraps-in-both-axes.html b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/wraps-in-both-axes.html new file mode 100644 index 0000000000..809ee53645 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/grid-navigation/wraps-in-both-axes.html @@ -0,0 +1,60 @@ + + +HTML Test: focusgroup - Validate that wrap allows both horizontal and vertical wrapping. + + + + + + + + + + + + + + + + + + + + +
r1c1r1c2r1c3
r2c1r2c2r2c3
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/resources/focusgroup-utils.js b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/resources/focusgroup-utils.js new file mode 100644 index 0000000000..9a1a14a301 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/resources/focusgroup-utils.js @@ -0,0 +1,15 @@ +/* + Methods for testing the focusgroup feature. +*/ + +// https://w3c.github.io/webdriver/#keyboard-actions +const kArrowLeft = '\uE012'; +const kArrowUp = '\uE013'; +const kArrowRight = '\uE014'; +const kArrowDown = '\uE015'; + +// Set the focus on target and send the arrow key press event from it. +function focusAndKeyPress(target, key) { + target.focus(); + return test_driver.send_keys(target, key); +} diff --git a/testing/web-platform/tests/html/interaction/focus/processing-model/focus-fixup-rule-one-no-dialogs.html b/testing/web-platform/tests/html/interaction/focus/processing-model/focus-fixup-rule-one-no-dialogs.html new file mode 100644 index 0000000000..2413fe2667 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/processing-model/focus-fixup-rule-one-no-dialogs.html @@ -0,0 +1,109 @@ + + +Focus fixup rule one (no <dialog>s involved) + + + + + + +
+ + + +
+
+
Div
+
editor
+
+ + diff --git a/testing/web-platform/tests/html/interaction/focus/processing-model/focusVisible.html b/testing/web-platform/tests/html/interaction/focus/processing-model/focusVisible.html new file mode 100644 index 0000000000..aa7e66fffe --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/processing-model/focusVisible.html @@ -0,0 +1,65 @@ + + +focus(options) - focusVisible + + + + + + + + + + +
+
+
+ +
+ + diff --git a/testing/web-platform/tests/html/interaction/focus/processing-model/legend-focusable.html b/testing/web-platform/tests/html/interaction/focus/processing-model/legend-focusable.html new file mode 100644 index 0000000000..c9209d3cf6 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/processing-model/legend-focusable.html @@ -0,0 +1,17 @@ + +legend focusable + + + +
+ + legend + + + +
+ diff --git a/testing/web-platform/tests/html/interaction/focus/processing-model/legend.html b/testing/web-platform/tests/html/interaction/focus/processing-model/legend.html new file mode 100644 index 0000000000..b53839374d --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/processing-model/legend.html @@ -0,0 +1,20 @@ + +legend + + + +
+ + legend + + + +
+ diff --git a/testing/web-platform/tests/html/interaction/focus/processing-model/preventScroll-nested-scroll-elements.html b/testing/web-platform/tests/html/interaction/focus/processing-model/preventScroll-nested-scroll-elements.html new file mode 100644 index 0000000000..a7ae76f733 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/processing-model/preventScroll-nested-scroll-elements.html @@ -0,0 +1,62 @@ + +focus(options) - preventScroll on nested scroll elements + + + +
+
+
1_1
+
1_2
+
1_3
+
+
+
2_1
+
2_2
+
2_3
+
+
+
3_1
+
3_2
+
3_3
+
+
+ diff --git a/testing/web-platform/tests/html/interaction/focus/processing-model/preventScroll-textarea.html b/testing/web-platform/tests/html/interaction/focus/processing-model/preventScroll-textarea.html new file mode 100644 index 0000000000..446284b186 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/processing-model/preventScroll-textarea.html @@ -0,0 +1,40 @@ + +focus(options) - preventScroll on textarea element + + + + + +
+ + + +
+ diff --git a/testing/web-platform/tests/html/interaction/focus/processing-model/preventScroll.html b/testing/web-platform/tests/html/interaction/focus/processing-model/preventScroll.html new file mode 100644 index 0000000000..97d341b30e --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/processing-model/preventScroll.html @@ -0,0 +1,76 @@ + +focus(options) - preventScroll + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/processing-model/support/preventScroll-helper.html b/testing/web-platform/tests/html/interaction/focus/processing-model/support/preventScroll-helper.html new file mode 100644 index 0000000000..43c6d86a57 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/processing-model/support/preventScroll-helper.html @@ -0,0 +1,6 @@ + +Helper document for preventScroll test + + diff --git a/testing/web-platform/tests/html/interaction/focus/processing-model/textarea-scroll-selection.html b/testing/web-platform/tests/html/interaction/focus/processing-model/textarea-scroll-selection.html new file mode 100644 index 0000000000..c8e252f7da --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/processing-model/textarea-scroll-selection.html @@ -0,0 +1,46 @@ + +programatic focus() scrolls selection into view including ancestors + + + + + +
+ +
+ diff --git a/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-default-value.html b/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-default-value.html new file mode 100644 index 0000000000..25e359c2a2 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-default-value.html @@ -0,0 +1,21 @@ + + +HTML Test: focus - default value of tabindex + + + + +
+ +
TEST2
+ diff --git a/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-negative.html b/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-negative.html new file mode 100644 index 0000000000..859de94517 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-negative.html @@ -0,0 +1,45 @@ + + +HTML Test: focus - negative tabindex + + + + + + + + + +
+
+ + +
+ diff --git a/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-order.html b/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-order.html new file mode 100644 index 0000000000..d2ca0a6224 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-order.html @@ -0,0 +1,65 @@ + + +HTML Test: focus - the sequential focus navigation order + + + + + + + + + +
+
+ + + + + + + + + + +
+ diff --git a/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-positive.html b/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-positive.html new file mode 100644 index 0000000000..1fab1f3adb --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-positive.html @@ -0,0 +1,44 @@ + + +HTML Test: focus - positive tabindex + + + + + + + + + +
+
+ +
+ diff --git a/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-zero.html b/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-zero.html new file mode 100644 index 0000000000..bda7c84687 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-zero.html @@ -0,0 +1,46 @@ + + + +HTML Test: focus - zero tabindex + + + + + + + + + + +
+
+ +
+ diff --git a/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/resources/frameset-using-page.html b/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/resources/frameset-using-page.html new file mode 100644 index 0000000000..e3aedea246 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/resources/frameset-using-page.html @@ -0,0 +1,6 @@ + + +We'll grab a frame from this page to test its tabIndex + + + diff --git a/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/tabindex-getter-frame.html b/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/tabindex-getter-frame.html new file mode 100644 index 0000000000..27a92f76ab --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/tabindex-getter-frame.html @@ -0,0 +1,55 @@ + + +HTML Test: tabIndex getter return value for frames + + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/tabindex-getter.html b/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/tabindex-getter.html new file mode 100644 index 0000000000..785e8c91ff --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/sequential-focus-navigation-and-the-tabindex-attribute/tabindex-getter.html @@ -0,0 +1,95 @@ + + +HTML Test: tabIndex getter return value + + + + + + + + + + +a +a +svg a +svg a + + + + + + + + +
+
summarysecond summarydetails
+
+
+
+
+
+ + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/tabindex-focus-flag.html b/testing/web-platform/tests/html/interaction/focus/tabindex-focus-flag.html new file mode 100644 index 0000000000..93fdb19a59 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/tabindex-focus-flag.html @@ -0,0 +1,134 @@ + + + + + +
+ + + + + + + + +
+
+ + + + +
+ + +
+ + + + +
+ +
+ + +
+ + + + +
+ +
+ + +
+ + + + + +
+ + +
+ + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/autofocus-dialog.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/autofocus-dialog.html new file mode 100644 index 0000000000..08a0913f42 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/autofocus-dialog.html @@ -0,0 +1,29 @@ + + + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/autofocus-in-not-fully-active-document.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/autofocus-in-not-fully-active-document.html new file mode 100644 index 0000000000..a26a44dbfb --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/autofocus-in-not-fully-active-document.html @@ -0,0 +1,16 @@ + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/autofocus-on-stable-document.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/autofocus-on-stable-document.html new file mode 100644 index 0000000000..47e3e3fd0a --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/autofocus-on-stable-document.html @@ -0,0 +1,21 @@ + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-empty.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-empty.html new file mode 100644 index 0000000000..ec9d16d498 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-empty.html @@ -0,0 +1,31 @@ + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-nonexistent.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-nonexistent.html new file mode 100644 index 0000000000..3f2dcc4167 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-nonexistent.html @@ -0,0 +1,31 @@ + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-top.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-top.html new file mode 100644 index 0000000000..ea3cc41f81 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-top.html @@ -0,0 +1,31 @@ + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-valid.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-valid.html new file mode 100644 index 0000000000..7a7b01a21b --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-valid.html @@ -0,0 +1,41 @@ + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/first-reconnected.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/first-reconnected.html new file mode 100644 index 0000000000..99ee9198d1 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/first-reconnected.html @@ -0,0 +1,22 @@ + + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/first-when-later-but-before.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/first-when-later-but-before.html new file mode 100644 index 0000000000..f361463401 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/first-when-later-but-before.html @@ -0,0 +1,26 @@ + + +The temporally first autofocus in the document wins, even if an element is inserted later that is previous in the document tree + + + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/first-when-later.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/first-when-later.html new file mode 100644 index 0000000000..1d64b863a1 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/first-when-later.html @@ -0,0 +1,26 @@ + + +The first autofocus in the document wins, even if elements are inserted later + + + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/first.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/first.html new file mode 100644 index 0000000000..02ebb79a3e --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/first.html @@ -0,0 +1,24 @@ + + +The first autofocus in the document wins + + + + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/focusable-area-in-top-document.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/focusable-area-in-top-document.html new file mode 100644 index 0000000000..327040eeee --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/focusable-area-in-top-document.html @@ -0,0 +1,24 @@ + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/no-autofocus-on-changing-input-type.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/no-autofocus-on-changing-input-type.html new file mode 100644 index 0000000000..79a39ef2f9 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/no-autofocus-on-changing-input-type.html @@ -0,0 +1,27 @@ + + + + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/no-cross-origin-autofocus.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/no-cross-origin-autofocus.html new file mode 100644 index 0000000000..2cf7428f36 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/no-cross-origin-autofocus.html @@ -0,0 +1,44 @@ + + + + + + + + + + +

Autofocus shouldn't work in cross-origin iframe.

+ + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/no-sandboxed-automatic-features.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/no-sandboxed-automatic-features.html new file mode 100644 index 0000000000..991373d336 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/no-sandboxed-automatic-features.html @@ -0,0 +1,17 @@ + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/not-on-first-task.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/not-on-first-task.html new file mode 100644 index 0000000000..ab27342f4f --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/not-on-first-task.html @@ -0,0 +1,22 @@ + + +The element is not focused during the initial parsing task + + + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/queue-non-focusable.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/queue-non-focusable.html new file mode 100644 index 0000000000..e3b556035d --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/queue-non-focusable.html @@ -0,0 +1,20 @@ + + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/child-autofocus.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/child-autofocus.html new file mode 100644 index 0000000000..afd5601a52 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/child-autofocus.html @@ -0,0 +1,20 @@ + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/child-iframe.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/child-iframe.html new file mode 100644 index 0000000000..f60acfc871 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/child-iframe.html @@ -0,0 +1,18 @@ + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/erase-first.css b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/erase-first.css new file mode 100644 index 0000000000..bbbcf79939 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/erase-first.css @@ -0,0 +1,3 @@ +#first { + display: none; +} diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/frame-with-anchor.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/frame-with-anchor.html new file mode 100644 index 0000000000..b9070159e7 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/frame-with-anchor.html @@ -0,0 +1,4 @@ + + +
+ diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/frame-with-autofocus-element.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/frame-with-autofocus-element.html new file mode 100644 index 0000000000..985cba4149 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/frame-with-autofocus-element.html @@ -0,0 +1,5 @@ + + +
+ + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/grand-child-autofocus.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/grand-child-autofocus.html new file mode 100644 index 0000000000..88be6e0b04 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/grand-child-autofocus.html @@ -0,0 +1,18 @@ + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/imagemap.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/imagemap.html new file mode 100644 index 0000000000..fa3d95c81b --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/imagemap.html @@ -0,0 +1,5 @@ + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/moving-autofocus-to-parent.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/moving-autofocus-to-parent.html new file mode 100644 index 0000000000..fc6c298a46 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/moving-autofocus-to-parent.html @@ -0,0 +1,10 @@ + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/utils.js b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/utils.js new file mode 100644 index 0000000000..c4f38fcb20 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/utils.js @@ -0,0 +1,41 @@ +'use strict'; + +function waitForEvent(target, type, options) { + return new Promise((resolve, reject) => { + target.addEventListener(type, resolve, options); + }); +} + +function waitForAnimationFrame(w) { + let targetWindow = w || window; + return new Promise((resolve, reject) => { + targetWindow.requestAnimationFrame(resolve); + }); +} + +function waitForEvent(target, type, options) { + return new Promise((resolve, reject) => { + target.addEventListener(type, resolve, options); + }); +} + +function waitForLoad(target) { + return waitForEvent(target, 'load'); +} + +function timeOut(test, ms) { + return new Promise((resolve, reject) => { + test.step_timeout(resolve, ms); + }); +} + +// If an element with autofocus is connected to a document and this function +// is called, the autofocus result is deterministic after returning from the +// function. +// Exception: If the document has script-blocking style sheets, this function +// doesn't work well. +async function waitUntilStableAutofocusState(w) { + let targetWindow = w || window; + // Awaiting one animation frame is an easy way to determine autofocus state. + await waitForAnimationFrame(targetWindow); +} diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/same-origin-autofocus.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/same-origin-autofocus.html new file mode 100644 index 0000000000..1497a7d658 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/same-origin-autofocus.html @@ -0,0 +1,48 @@ + + + + + +autofocus in the same origin grand child iframe + + + + + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/skip-another-top-level-browsing-context.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/skip-another-top-level-browsing-context.html new file mode 100644 index 0000000000..d392b903f0 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/skip-another-top-level-browsing-context.html @@ -0,0 +1,17 @@ + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/skip-non-focusable.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/skip-non-focusable.html new file mode 100644 index 0000000000..008371d8e1 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/skip-non-focusable.html @@ -0,0 +1,19 @@ + + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/skip-not-fully-active.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/skip-not-fully-active.html new file mode 100644 index 0000000000..fa5b608d05 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/skip-not-fully-active.html @@ -0,0 +1,18 @@ + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/spin-by-blocking-style-sheet.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/spin-by-blocking-style-sheet.html new file mode 100644 index 0000000000..22a4c3573c --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/spin-by-blocking-style-sheet.html @@ -0,0 +1,17 @@ + + + + + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/supported-elements.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/supported-elements.html new file mode 100644 index 0000000000..29b3f3fb7b --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/supported-elements.html @@ -0,0 +1,83 @@ + + + + + + diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/update-the-rendering.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/update-the-rendering.html new file mode 100644 index 0000000000..279f70d490 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/update-the-rendering.html @@ -0,0 +1,40 @@ + + + + + + + + -- cgit v1.2.3