mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Implement NamedItem and NamedGetter on HTMLFormControlsCollection
This commit is contained in:
parent
9e3af70941
commit
4229b68062
10 changed files with 94 additions and 140 deletions
|
@ -1359,9 +1359,6 @@
|
|||
[HTMLCollection interface: calling namedItem(DOMString) on document.all with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLFormControlsCollection interface: operation namedItem(DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLFormControlsCollection must be primary interface of document.createElement("form").elements]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -1389,21 +1386,6 @@
|
|||
[HTMLCollection interface: calling namedItem(DOMString) on document.createElement("form").elements with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[RadioNodeList interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[RadioNodeList interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[RadioNodeList interface: existence and properties of interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[RadioNodeList interface: existence and properties of interface prototype object's "constructor" property]
|
||||
expected: FAIL
|
||||
|
||||
[RadioNodeList interface: attribute value]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLOptionsCollection interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8946,9 +8928,6 @@
|
|||
[HTMLAllCollection interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[RadioNodeList interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLOptionsCollection interface object name]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -6,15 +6,9 @@
|
|||
[HTMLFormControlsCollection(name) must return the named item]
|
||||
expected: FAIL
|
||||
|
||||
[The namedItem(name) must return RadioNodeList]
|
||||
expected: FAIL
|
||||
|
||||
[Controls can be indexed by id or name attribute]
|
||||
expected: FAIL
|
||||
|
||||
[The namedItem(name) must return the items with id or name attribute]
|
||||
expected: FAIL
|
||||
|
||||
[The HTMLFormControlsCollection interface is used for collections of listed elements in form element]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,17 +1,5 @@
|
|||
[radionodelist.html]
|
||||
type: testharness
|
||||
[The value attribute should be empty if no element is checked]
|
||||
expected: FAIL
|
||||
|
||||
[The RadioNodeList.value must be the first checked radio button's value]
|
||||
expected: FAIL
|
||||
|
||||
[Check the RadioNodeList.value on getting]
|
||||
expected: FAIL
|
||||
|
||||
[Check the RadioNodeList.value on setting]
|
||||
expected: FAIL
|
||||
|
||||
[Check the RadioNodeList.value on setting to 'on']
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
[form-elements-nameditem-01.html]
|
||||
type: testharness
|
||||
[RadioNodeList should exist]
|
||||
expected: FAIL
|
||||
|
||||
[elements collection should return elements or RadioNodeLists]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -193,6 +193,7 @@ var interfaceNamesInGlobalScope = [
|
|||
"PerformanceTiming",
|
||||
"ProcessingInstruction",
|
||||
"ProgressEvent",
|
||||
"RadioNodeList",
|
||||
"Range",
|
||||
"Screen",
|
||||
"Storage",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue