mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Auto merge of #5858 - pgonda:tabindex-focus-flag, r=jdm
Added support for the tabindex field, also added its correct defaults (-2 TODOs for things not supported in Servo yet). Also added tabindex logic into Element::is_focusable_area. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5858) <!-- Reviewable:end -->
This commit is contained in:
commit
fada39164c
6 changed files with 80 additions and 16 deletions
|
@ -1,5 +0,0 @@
|
|||
[disabledElement.html]
|
||||
type: testharness
|
||||
[A disabled <span> should be focusable]
|
||||
expected: FAIL
|
||||
|
|
@ -3,12 +3,5 @@
|
|||
[input3 has the attribute autofocus]
|
||||
expected: FAIL
|
||||
|
||||
[tabindex attribute makes the element focusable]
|
||||
expected: FAIL
|
||||
|
||||
[editable elements are focusable]
|
||||
expected: FAIL
|
||||
|
||||
[':focus' matches focussed body with tabindex]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue