Labels are a live list in tree order

This commit is contained in:
Patrick Shaughnessy 2020-01-02 15:44:29 -05:00
parent 0d142bea9a
commit 036e8dabe2
14 changed files with 161 additions and 102 deletions

View file

@ -1,31 +1,3 @@
[label-attributes.sub.html]
[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
[A non-control follows by a control with same ID.]
expected: FAIL
[A labelable element is moved to outside of nested associated labels.]
expected: FAIL
[A labelable element is moved to inside of nested associated labels.]
expected: FAIL
[A labelable element which is a descendant of non-labelable element is moved to outside of associated label.]
expected: FAIL
[A labelable element is moved to iframe.]
expected: FAIL
[A div element which contains labelable element is removed.]
expected: FAIL
[A labelable element not in a document can label element in the same tree.]
expected: FAIL
[A labelable element inside the shadow DOM.]
expected: FAIL
[A form control has an implicit label.]
expected: FAIL

View file

@ -2,7 +2,3 @@
type: testharness
[Check if the keygen element is a labelable element]
expected: FAIL
[Check if the hidden input element has null 'labels']
expected: FAIL