[wpt-sync] Sync PR 46127 - Revert "Update focus-navigation WPT forward to use test_driver.Actions"
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox128 fixed)
Tracking | Status | |
---|---|---|
firefox128 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 46127 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/46127
Details from upstream follow.
Yuki Shiino <yukishiino@chromium.org> wrote:
Revert "Update focus-navigation WPT forward to use test_driver.Actions"
This reverts commit 5ca29ac8df39fb902b44a9f4e1d3118feea544cf.
Reason for revert: Suspicious about causing WPTs failing or flakily failing.
https://ci.chromium.org/ui/p/chromium/builders/ci/Mac11%20Tests/27459/overview
https://ci.chromium.org/ui/p/chromium/builders/ci/Mac12%20Tests/19475/overviewOriginal change's description:
Update focus-navigation WPT forward to use test_driver.Actions
Previous patch changed navigateFocusForward() in focus-utils.js
to send keyboard event on the document.documentElement.
This change was not interoperable [1]. We update to send the keyboard
event using test_driver.Actions() and without specifying an element
to send keys to.[1] https://github.com/web-platform-tests/wpt/pull/45772#discussion_r1591235292
Change-Id: I3b2a4a38ea4edb4d05d8c4a34505f0f8083f6460
Bug: 40542192
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5519292
Reviewed-by: Joey Arhar \<jarhar@chromium.org>
Commit-Queue: Di Zhang \<dizhangg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1297032}Bug: 40542192
Change-Id: I147968c0f75c59f92a5b5406ab20ba1f23f01455
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5513895
Commit-Queue: Rubber Stamper \<rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Yuki Shiino \<yukishiino@chromium.org>
Auto-Submit: Yuki Shiino \<yukishiino@chromium.org>
Bot-Commit: Rubber Stamper \<rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1297215}
Assignee | ||
Comment 1•1 year ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 26 tests and 5 subtests
Status Summary
Firefox
OK
: 26
PASS
: 3
FAIL
: 53
Chrome
OK
: 26
PASS
: 37
FAIL
: 19
Safari
OK
: 26
PASS
: 36
FAIL
: 20
Links
Details
Firefox-only Failures
- /shadow-dom/focus-navigation/delegatesFocus-highlight-sibling.html [wpt.fyi]
- crbug/474687 :focus style should properly be applied to shadow hosts.:
FAIL
linked bug:Bug 1892334
- crbug/474687 :focus style should properly be applied to shadow hosts.:
- /shadow-dom/focus-navigation/focus-navigation-slot-fallback-default-tabindex.html [wpt.fyi]
- Default tabindex for a slot node should be 0.:
FAIL
linked bug:Bug 1892334
- Default tabindex for a slot node should be 0.:
- /shadow-dom/focus-navigation/focus-navigation-slot-fallback.html [wpt.fyi]
- Focus should jump to fallback elements when a slot does not have any assigned nodes.:
FAIL
linked bug:Bug 1892334
- Focus should jump to fallback elements when a slot does not have any assigned nodes.:
- /shadow-dom/focus-navigation/focus-navigation-slot-nested-2levels.html [wpt.fyi]
- Focus controller should treat each slot as a focus scope.:
FAIL
linked bug:Bug 1892334
- Focus controller should treat each slot as a focus scope.:
- /shadow-dom/focus-navigation/focus-navigation-slot-nested-delegatesFocus.html [wpt.fyi]
- Focus controller should treat each slot as a focus scope.:
FAIL
linked bug:Bug 1892334
- Focus controller should treat each slot as a focus scope.:
- /shadow-dom/focus-navigation/focus-navigation-slot-nested-fallback.html [wpt.fyi]
- Focus should cover assigned elements of an assigned slot espacially there are fallback contents.:
FAIL
linked bug:Bug 1892334
- Focus should cover assigned elements of an assigned slot espacially there are fallback contents.:
- /shadow-dom/focus-navigation/focus-navigation-slot-nested.html [wpt.fyi]
- Focus controller should treat each slot as a focus scope.:
FAIL
linked bug:Bug 1892334
- Focus controller should treat each slot as a focus scope.:
- /shadow-dom/focus-navigation/focus-navigation-slot-shadow-in-fallback.html [wpt.fyi]
- Focus should cover assigned elements of an assigned slot, as well as elements that are directly assigned to a slot.:
FAIL
linked bug:Bug 1892334
- Focus should cover assigned elements of an assigned slot, as well as elements that are directly assigned to a slot.:
- /shadow-dom/focus-navigation/focus-navigation-slot-shadow-in-slot.html [wpt.fyi]
- Focus should cover assigned elements of an assigned slot, as well as elements that are directly assigned to a slot.:
FAIL
linked bug:Bug 1892334
- Focus should cover assigned elements of an assigned slot, as well as elements that are directly assigned to a slot.:
- /shadow-dom/focus-navigation/focus-navigation-slot-with-tabindex.html [wpt.fyi]
- Slots tabindex should be considred in focus navigation.:
FAIL
linked bug:Bug 1892334
- Slots tabindex should be considred in focus navigation.:
- /shadow-dom/focus-navigation/focus-navigation-slots-in-slot.html [wpt.fyi]
- Focus should cover assigned nodes of slot, especially for nested slots in slot scope.:
FAIL
linked bug:Bug 1892334
- Focus should cover assigned nodes of slot, especially for nested slots in slot scope.:
- /shadow-dom/focus-navigation/focus-navigation-slots.html [wpt.fyi]
- Focus should cover assigned elements of an assigned slot, as well as elements that are directly assigned to a slot.:
FAIL
linked bug:Bug 1892334
- Focus should cover assigned elements of an assigned slot, as well as elements that are directly assigned to a slot.:
- /shadow-dom/focus-navigation/focus-navigation-web-component-radio.html [wpt.fyi]
- Focus for web component input type elements should be bound by <form> inside shadow DOM:
FAIL
linked bug:Bug 1892334
- Focus for web component input type elements should be bound by <form> inside shadow DOM:
- /shadow-dom/focus-navigation/focus-navigation-with-delegatesFocus.html [wpt.fyi]
- Testing tab navigation order with mode open, no tabindex and delegatesFocus=false.:
FAIL
linked bug:Bug 1892334 - Testing tab navigation order with mode open, no tabindex and delegatesFocus=true.:
FAIL
linked bug:Bug 1892334 - Testing tab navigation order with mode open, tabindex=0 and delegatesFocus=false.:
FAIL
linked bug:Bug 1892334 - Testing tab navigation order with mode open, tabindex=0 and delegatesFocus=true.:
FAIL
linked bug:Bug 1892334 - Testing tab navigation order with mode open, tabindex=-1 and delegatesFocus=false.:
FAIL
linked bug:Bug 1892334 - Testing tab navigation order with mode open, tabindex=-1 and delegatesFocus=true.:
FAIL
linked bug:Bug 1892334 - Testing tab navigation order with mode open, tabindex=1 and delegatesFocus=false.:
FAIL
linked bug:Bug 1892334 - Testing tab navigation order with mode open, tabindex=1 and delegatesFocus=true.:
FAIL
linked bug:Bug 1892334 - Testing tab navigation order with mode closed, no tabindex and delegatesFocus=false.:
FAIL
linked bug:Bug 1892334 - Testing tab navigation order with mode closed, no tabindex and delegatesFocus=true.:
FAIL
linked bug:Bug 1892334 - Testing tab navigation order with mode closed, tabindex=0 and delegatesFocus=false.:
FAIL
linked bug:Bug 1892334 - Testing tab navigation order with mode closed, tabindex=0 and delegatesFocus=true.:
FAIL
linked bug:Bug 1892334 - Testing tab navigation order with mode closed, tabindex=-1 and delegatesFocus=false.:
FAIL
linked bug:Bug 1892334 - Testing tab navigation order with mode closed, tabindex=-1 and delegatesFocus=true.:
FAIL
linked bug:Bug 1892334 - Testing tab navigation order with mode closed, tabindex=1 and delegatesFocus=false.:
FAIL
linked bug:Bug 1892334 - Testing tab navigation order with mode closed, tabindex=1 and delegatesFocus=true.:
FAIL
linked bug:Bug 1892334
- Testing tab navigation order with mode open, no tabindex and delegatesFocus=false.:
- /shadow-dom/focus-navigation/focus-navigation.html [wpt.fyi]
- Focus controller should treat slots as a focus scope.:
FAIL
linked bug:Bug 1892334
- Focus controller should treat slots as a focus scope.:
- /shadow-dom/focus-navigation/focus-nested-slots.html [wpt.fyi]
- Verifies that focus order goes in flat tree order with buttons inside nested slots which have a mixture of assigned and unassigned states.:
FAIL
linked bug:Bug 1892334
- Verifies that focus order goes in flat tree order with buttons inside nested slots which have a mixture of assigned and unassigned states.:
- /shadow-dom/focus-navigation/focus-unassignable-slot.html [wpt.fyi]
- Verifies that focusing forwards from an input inside a slot which has no shadow root goes to the next focusable element in light DOM.:
FAIL
linked bug:Bug 1892334
- Verifies that focusing forwards from an input inside a slot which has no shadow root goes to the next focusable element in light DOM.:
- /shadow-dom/focus-navigation/focus-with-negative-index.html [wpt.fyi]
- Focus controller should treat slots as a focus scope.:
FAIL
linked bug:Bug 1892334 - This is a regression test: After focusing negative tabindex-ed elements, focus moves in tree order.:
FAIL
linked bug:Bug 1785036
- Focus controller should treat slots as a focus scope.:
New Tests That Don't Pass
- /shadow-dom/focus-navigation/delegatesFocus-highlight-sibling.html [wpt.fyi]
- crbug/474687 :focus style should properly be applied to shadow hosts.:
FAIL
(Chrome:PASS
, Safari:PASS
)
- crbug/474687 :focus style should properly be applied to shadow hosts.:
- /shadow-dom/focus-navigation/focus-navigation-slot-fallback-default-tabindex.html [wpt.fyi]
- Default tabindex for a slot node should be 0.:
FAIL
(Chrome:PASS
, Safari:PASS
)
- Default tabindex for a slot node should be 0.:
- /shadow-dom/focus-navigation/focus-navigation-slot-fallback.html [wpt.fyi]
- Focus should jump to fallback elements when a slot does not have any assigned nodes.:
FAIL
(Chrome:PASS
, Safari:PASS
)
- Focus should jump to fallback elements when a slot does not have any assigned nodes.:
- /shadow-dom/focus-navigation/focus-navigation-slot-nested-2levels.html [wpt.fyi]
- Focus controller should treat each slot as a focus scope.:
FAIL
(Chrome:PASS
, Safari:PASS
)
- Focus controller should treat each slot as a focus scope.:
- /shadow-dom/focus-navigation/focus-navigation-slot-nested-delegatesFocus.html [wpt.fyi]
- Focus controller should treat each slot as a focus scope.:
FAIL
(Chrome:PASS
, Safari:PASS
)
- Focus controller should treat each slot as a focus scope.:
- /shadow-dom/focus-navigation/focus-navigation-slot-nested-fallback.html [wpt.fyi]
- Focus should cover assigned elements of an assigned slot espacially there are fallback contents.:
FAIL
(Chrome:PASS
, Safari:PASS
)
- Focus should cover assigned elements of an assigned slot espacially there are fallback contents.:
- /shadow-dom/focus-navigation/focus-navigation-slot-nested.html [wpt.fyi]
- Focus controller should treat each slot as a focus scope.:
FAIL
(Chrome:PASS
, Safari:PASS
)
- Focus controller should treat each slot as a focus scope.:
- /shadow-dom/focus-navigation/focus-navigation-slot-shadow-in-fallback.html [wpt.fyi]
- Focus should cover assigned elements of an assigned slot, as well as elements that are directly assigned to a slot.:
FAIL
(Chrome:PASS
, Safari:PASS
)
- Focus should cover assigned elements of an assigned slot, as well as elements that are directly assigned to a slot.:
- /shadow-dom/focus-navigation/focus-navigation-slot-shadow-in-slot.html [wpt.fyi]
- Focus should cover assigned elements of an assigned slot, as well as elements that are directly assigned to a slot.:
FAIL
(Chrome:PASS
, Safari:PASS
)
- Focus should cover assigned elements of an assigned slot, as well as elements that are directly assigned to a slot.:
- /shadow-dom/focus-navigation/focus-navigation-slot-with-tabindex.html [wpt.fyi]
- Slots tabindex should be considred in focus navigation.:
FAIL
(Chrome:PASS
, Safari:PASS
)
- Slots tabindex should be considred in focus navigation.:
- /shadow-dom/focus-navigation/focus-navigation-slots-in-slot.html [wpt.fyi]
- Focus should cover assigned nodes of slot, especially for nested slots in slot scope.:
FAIL
(Chrome:PASS
, Safari:PASS
)
- Focus should cover assigned nodes of slot, especially for nested slots in slot scope.:
- /shadow-dom/focus-navigation/focus-navigation-slots.html [wpt.fyi]
- Focus should cover assigned elements of an assigned slot, as well as elements that are directly assigned to a slot.:
FAIL
(Chrome:PASS
, Safari:PASS
)
- Focus should cover assigned elements of an assigned slot, as well as elements that are directly assigned to a slot.:
- /shadow-dom/focus-navigation/focus-navigation-web-component-radio.html [wpt.fyi]
- Focus for web component input type elements should be bound by <form> inside shadow DOM:
FAIL
(Chrome:PASS
, Safari:PASS
)
- Focus for web component input type elements should be bound by <form> inside shadow DOM:
- /shadow-dom/focus-navigation/focus-navigation-with-delegatesFocus.html [wpt.fyi]
- Testing tab navigation order with mode open, no tabindex and delegatesFocus=false.:
FAIL
(Chrome:PASS
, Safari:PASS
) - Testing tab navigation order with mode open, no tabindex and delegatesFocus=true.:
FAIL
(Chrome:PASS
, Safari:PASS
) - Testing tab navigation order with mode open, tabindex=0 and delegatesFocus=false.:
FAIL
(Chrome:PASS
, Safari:PASS
) - Testing tab navigation order with mode open, tabindex=0 and delegatesFocus=true.:
FAIL
(Chrome:PASS
, Safari:PASS
) - Testing tab navigation order with mode open, tabindex=-1 and delegatesFocus=false.:
FAIL
(Chrome:PASS
, Safari:PASS
) - Testing tab navigation order with mode open, tabindex=-1 and delegatesFocus=true.:
FAIL
(Chrome:PASS
, Safari:PASS
) - Testing tab navigation order with mode open, tabindex=1 and delegatesFocus=false.:
FAIL
(Chrome:PASS
, Safari:PASS
) - Testing tab navigation order with mode open, tabindex=1 and delegatesFocus=true.:
FAIL
(Chrome:PASS
, Safari:PASS
) - Testing tab navigation order with mode closed, no tabindex and delegatesFocus=false.:
FAIL
(Chrome:PASS
, Safari:PASS
) - Testing tab navigation order with mode closed, no tabindex and delegatesFocus=true.:
FAIL
(Chrome:PASS
, Safari:PASS
) - Testing tab navigation order with mode closed, tabindex=0 and delegatesFocus=false.:
FAIL
(Chrome:PASS
, Safari:PASS
) - Testing tab navigation order with mode closed, tabindex=0 and delegatesFocus=true.:
FAIL
(Chrome:PASS
, Safari:PASS
) - Testing tab navigation order with mode closed, tabindex=-1 and delegatesFocus=false.:
FAIL
(Chrome:PASS
, Safari:PASS
) - Testing tab navigation order with mode closed, tabindex=-1 and delegatesFocus=true.:
FAIL
(Chrome:PASS
, Safari:PASS
) - Testing tab navigation order with mode closed, tabindex=1 and delegatesFocus=false.:
FAIL
(Chrome:PASS
, Safari:PASS
) - Testing tab navigation order with mode closed, tabindex=1 and delegatesFocus=true.:
FAIL
(Chrome:PASS
, Safari:PASS
)
- Testing tab navigation order with mode open, no tabindex and delegatesFocus=false.:
- /shadow-dom/focus-navigation/focus-navigation.html [wpt.fyi]
- Focus controller should treat slots as a focus scope.:
FAIL
(Chrome:PASS
, Safari:PASS
)
- Focus controller should treat slots as a focus scope.:
- /shadow-dom/focus-navigation/focus-nested-slots.html [wpt.fyi]
- Verifies that focus order goes in flat tree order with buttons inside nested slots which have a mixture of assigned and unassigned states.:
FAIL
(Chrome:PASS
, Safari:PASS
)
- Verifies that focus order goes in flat tree order with buttons inside nested slots which have a mixture of assigned and unassigned states.:
- /shadow-dom/focus-navigation/focus-unassignable-slot.html [wpt.fyi]
- Verifies that focusing forwards from an input inside a slot which has no shadow root goes to the next focusable element in light DOM.:
FAIL
(Chrome:PASS
, Safari:PASS
)
- Verifies that focusing forwards from an input inside a slot which has no shadow root goes to the next focusable element in light DOM.:
- /shadow-dom/focus-navigation/focus-with-negative-index.html [wpt.fyi]
- Focus controller should treat slots as a focus scope.:
FAIL
(Chrome:PASS
, Safari:PASS
) - This is a regression test: After focusing negative tabindex-ed elements, focus moves in tree order.:
FAIL
(Chrome:PASS
, Safari:PASS
)
- Focus controller should treat slots as a focus scope.:
- /shadow-dom/focus-navigation/reading-order/tentative/grid-order-on-shadow-host.html [wpt.fyi]
- Grid items in shadow host without delegatesFocus:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Grid items in shadow host without delegatesFocus:
- /shadow-dom/focus-navigation/reading-order/tentative/grid-order-with-iframe.html [wpt.fyi]
- Grid items are iframes.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Grid items are iframes.:
- /shadow-dom/focus-navigation/reading-order/tentative/grid-order-with-nested-grids.html [wpt.fyi]
- Grid items are not grid containers.:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Grid items are grid containers.:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Only has grid containers.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Grid items are not grid containers.:
- /shadow-dom/focus-navigation/reading-order/tentative/grid-order-with-popover.html [wpt.fyi]
- Popover in reading-order-items: grid-order container.:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Popover in container and itself with reading-order-items: grid-order.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Popover in reading-order-items: grid-order container.:
- /shadow-dom/focus-navigation/reading-order/tentative/grid-order-with-slots.html [wpt.fyi]
- Slot assigned element is a grid with reading-order-items.:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Slot is a grid with reading-order-items.:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Slot is inside a grid container with reading-order-items.:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Slot is a grid with reading-order-items inside a grid container with reading-order-items.:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Slot is not inside a shadow root.:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Slot is a display contents inside a grid container.:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Slot is a display block inside a grid container.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Slot assigned element is a grid with reading-order-items.:
- /shadow-dom/focus-navigation/reading-order/tentative/grid-order.html [wpt.fyi]
- Grid items without
order
property:FAIL
(Chrome:PASS
, Safari:FAIL
) - Grid items with
order
property:FAIL
(Chrome:FAIL
, Safari:FAIL
) - Grid items with
order
property and tabindex:FAIL
(Chrome:FAIL
, Safari:FAIL
) - Items in display contents are sorted in same grid container.:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Items in display block are not in parent grid container.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Grid items without
Comment 3•1 year ago
|
||
bugherder |
Description
•