mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Don't allow disabled fields to be focused
This commit is contained in:
parent
35fb516662
commit
4e63a5063e
4 changed files with 58 additions and 21 deletions
|
@ -1,23 +1,5 @@
|
|||
[disabledElement.html]
|
||||
type: testharness
|
||||
[A disabled <button> should not be focusable]
|
||||
expected: FAIL
|
||||
|
||||
[A disabled <input> should not be focusable]
|
||||
expected: FAIL
|
||||
|
||||
[A disabled <select> should not be focusable]
|
||||
expected: FAIL
|
||||
|
||||
[A disabled <optgroup> should not be focusable]
|
||||
expected: FAIL
|
||||
|
||||
[A disabled <option> should not be focusable]
|
||||
expected: FAIL
|
||||
|
||||
[A disabled <textarea> should not be focusable]
|
||||
expected: FAIL
|
||||
|
||||
[A disabled <input[type=radio\]> should not be focusable]
|
||||
[A disabled <span> should be focusable]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -2,4 +2,10 @@
|
|||
type: testharness
|
||||
[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