Files
servo/tests/wpt/meta/shadow-dom/focus/focus-method-delegatesFocus.html.ini
Martin Robinson d3c39bb68c script: Add support for ShadowRoot.delegatesFocus and start implementing the focusing steps (#43811)
This change has two main interdependent parts:

1. It starts to align Servo's focus code with what is written in the
   HTML specification. This is going to be a gradual change, so there
   are still many parts that do not match the specification yet. Still,
   this adds the major pieces.
2. It adds initial support for the `ShadowRoot.delegatesFocus` property
   which controls how focusing a shadow DOM root can delegate focus to
   one of its children.

Testing: This causes a few WPT tests to start passing.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2026-03-31 21:23:47 +00:00

40 lines
1.4 KiB
INI
Vendored

[focus-method-delegatesFocus.html]
[focus() on host with delegatesFocus, all tabindex=0]
expected: FAIL
[focus() on host with delegatesFocus & tabindex =-1, all other tabindex=0]
expected: FAIL
[focus() on host with delegatesFocus & no tabindex, all other tabindex=0]
expected: FAIL
[focus() on host with delegatesFocus & tabindex = 0, all other tabindex=-1]
expected: FAIL
[focus() on host with delegatesFocus, all tabindex=-1]
expected: FAIL
[focus() on host with delegatesFocus & tabindex=0, #belowSlots with tabindex=0]
expected: FAIL
[focus() on host with delegatesFocus & tabindex=0, #aboveSlots and #belowSlots with tabindex=0]
expected: FAIL
[focus() on host with delegatesFocus & tabindex=0, #aboveSlots with tabindex=0 and #belowSlots with tabindex=1]
expected: FAIL
[focus() on host with delegatesFocus & tabindex=0, #slottedToFirstSlot, #slottedToSecondSlot, #belowSlots with tabindex=0]
expected: FAIL
[focus() on host with delegatesFocus and already-focused non-first shadow descendant]
expected: FAIL
[focus() on host with delegatesFocus with another host with no delegatesFocus and a focusable child]
expected: FAIL
[focus() on host with delegatesFocus with another host with delegatesFocus and a focusable child]
expected: FAIL
[focus() on host with delegatesFocus and slotted focusable children]
expected: FAIL