mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Implement 'control' attribute for <label> elements
This commit is contained in:
parent
3b50f21963
commit
f97d1d148b
8 changed files with 74 additions and 60 deletions
|
@ -4884,15 +4884,9 @@
|
|||
[HTMLLabelElement interface: attribute htmlFor]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLLabelElement interface: attribute control]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLLabelElement interface: document.createElement("label") must inherit property "htmlFor" with the proper type (1)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLLabelElement interface: document.createElement("label") must inherit property "control" with the proper type (2)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,23 +1,8 @@
|
|||
[label-attributes.html]
|
||||
type: testharness
|
||||
[A label element with a 'for' attribute should only be associated with a labelable element.]
|
||||
expected: FAIL
|
||||
|
||||
[A label element not in a document can not label any element in the document.]
|
||||
expected: FAIL
|
||||
|
||||
[The labeled control for a label element that has no 'for' attribute is the first labelable element which is a descendant of that label element.]
|
||||
expected: FAIL
|
||||
|
||||
[The 'for' attribute points to an inexistent id.]
|
||||
expected: FAIL
|
||||
|
||||
[A non-control follows by a control with same ID.]
|
||||
expected: FAIL
|
||||
|
||||
[The 'for' attribute is an empty string.]
|
||||
expected: FAIL
|
||||
|
||||
[A form control has multiple labels.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,41 +1,5 @@
|
|||
[labelable-elements.html]
|
||||
type: testharness
|
||||
[Check if the output element is a labelable element]
|
||||
expected: FAIL
|
||||
|
||||
[Check if the progress element is a labelable element]
|
||||
expected: FAIL
|
||||
|
||||
[Check if the select element is a labelable element]
|
||||
expected: FAIL
|
||||
|
||||
[Check if the textarea element is a labelable form-element]
|
||||
expected: FAIL
|
||||
|
||||
[Check if the button element is a labelable element]
|
||||
expected: FAIL
|
||||
|
||||
[Check if the hidden input element is not a labelable element.]
|
||||
expected: FAIL
|
||||
|
||||
[Check if the input element in radio state is a labelable element]
|
||||
expected: FAIL
|
||||
|
||||
[Check if the keygen element is a labelable element]
|
||||
expected: FAIL
|
||||
|
||||
[Check if the meter element is a labelable element]
|
||||
expected: FAIL
|
||||
|
||||
[Check if the fieldset element is not a labelable element]
|
||||
expected: FAIL
|
||||
|
||||
[Check if the label element is not a labelable element]
|
||||
expected: FAIL
|
||||
|
||||
[Check if the object element is not a labelable element]
|
||||
expected: FAIL
|
||||
|
||||
[Check if the img element is not a labelable element]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue