mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Auto merge of #7760 - aopicier:form_getter, r=Manishearth
Add form getters for additional elements; update test expectations This adds form getters for fieldset, label, object, output, select and textarea elements. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7760) <!-- Reviewable:end -->
This commit is contained in:
commit
a72d7a4f52
16 changed files with 83 additions and 70 deletions
|
@ -2730,9 +2730,6 @@
|
|||
[HTMLObjectElement interface: attribute useMap]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLObjectElement interface: attribute form]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLObjectElement interface: attribute width]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5031,18 +5028,12 @@
|
|||
[HTMLLabelElement interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLLabelElement interface: attribute form]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLLabelElement interface: attribute htmlFor]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLLabelElement interface: attribute control]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLLabelElement interface: document.createElement("label") must inherit property "form" with the proper type (0)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLLabelElement interface: document.createElement("label") must inherit property "htmlFor" with the proper type (1)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5391,9 +5382,6 @@
|
|||
[HTMLSelectElement interface: attribute autofocus]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLSelectElement interface: attribute form]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLSelectElement interface: attribute required]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5448,9 +5436,6 @@
|
|||
[HTMLSelectElement interface: document.createElement("select") must inherit property "autofocus" with the proper type (1)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLSelectElement interface: document.createElement("select") must inherit property "form" with the proper type (3)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLSelectElement interface: document.createElement("select") must inherit property "required" with the proper type (6)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5553,9 +5538,6 @@
|
|||
[HTMLTextAreaElement interface: attribute dirName]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTextAreaElement interface: attribute form]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTextAreaElement interface: attribute inputMode]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5619,9 +5601,6 @@
|
|||
[HTMLTextAreaElement interface: document.createElement("textarea") must inherit property "dirName" with the proper type (3)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTextAreaElement interface: document.createElement("textarea") must inherit property "form" with the proper type (5)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTextAreaElement interface: document.createElement("textarea") must inherit property "inputMode" with the proper type (6)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5799,9 +5778,6 @@
|
|||
[HTMLOutputElement interface: attribute htmlFor]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLOutputElement interface: attribute form]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLOutputElement interface: attribute name]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5835,9 +5811,6 @@
|
|||
[HTMLOutputElement interface: document.createElement("output") must inherit property "htmlFor" with the proper type (0)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLOutputElement interface: document.createElement("output") must inherit property "form" with the proper type (1)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLOutputElement interface: document.createElement("output") must inherit property "name" with the proper type (2)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5946,9 +5919,6 @@
|
|||
[HTMLFieldSetElement interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLFieldSetElement interface: attribute form]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLFieldSetElement interface: attribute name]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,23 +1,5 @@
|
|||
[form.html]
|
||||
type: testharness
|
||||
[fieldset.form]
|
||||
expected: FAIL
|
||||
|
||||
[keygen.form]
|
||||
expected: FAIL
|
||||
|
||||
[label.form]
|
||||
expected: FAIL
|
||||
|
||||
[object.form]
|
||||
expected: FAIL
|
||||
|
||||
[output.form]
|
||||
expected: FAIL
|
||||
|
||||
[select.form]
|
||||
expected: FAIL
|
||||
|
||||
[textarea.form]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -3,9 +3,6 @@
|
|||
[The type attribute must return 'fieldset']
|
||||
expected: FAIL
|
||||
|
||||
[The form attribute must return the fieldset's form owner]
|
||||
expected: FAIL
|
||||
|
||||
[The elements must return an HTMLFormControlsCollection object]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -27,12 +27,6 @@
|
|||
[A form control has no label 2.]
|
||||
expected: FAIL
|
||||
|
||||
[A label's form attribute should return its form owner.]
|
||||
expected: FAIL
|
||||
|
||||
[Check that the labels property of a form control with no label returns a zero-length NodeList.]
|
||||
expected: FAIL
|
||||
|
||||
[A label's htmlFor attribute must reflect the for content attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue