mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
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>
40 lines
1.4 KiB
INI
Vendored
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
|