Pass | The length attribute must return the number of elements in the form | Asserts runPass | assert_equals(1, 1, "The length attribute is incorrect.")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html:42:3) | Pass | assert_equals(4, 4, "The length attribute is incorrect.")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html:43:3) |
|
Pass | HTMLFormControlsCollection.item(index) must return the indexed item | Asserts runPass | assert_equals(Element node <input type="radio" id="r1" name="ra"></input>, Element node <input type="radio" id="r1" name="ra"></input>, "HTMLFormControlsCollection.item(index) should return the 'input' element in radio status.")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html:48:3) |
|
Pass | HTMLFormControlsCollection[index] must return the indexed item | Asserts runPass | assert_equals(Element node <input type="radio" id="r1" name="ra"></input>, Element node <input type="radio" id="r1" name="ra"></input>, "HTMLFormControlsCollection[index] should return the 'input' element in radio status.")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html:52:3) |
|
Pass | HTMLFormControlsCollection is not callable | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { coll1("r1") }")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html:57:3) |
|
Pass | HTMLFormControlsCollection[name] must return the named item | Asserts runPass | assert_equals(Element node <input type="radio" id="r1" name="ra"></input>, Element node <input type="radio" id="r1" name="ra"></input>, "HTMLFormControlsCollection[name] should return the 'input' element in radio status.")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html:61:3) |
|
Pass | HTMLFormControlsCollection.namedItem(name) must return the named item | Asserts runPass | assert_equals(Element node <input type="radio" id="r1" name="ra"></input>, Element node <input type="radio" id="r1" name="ra"></input>, "HTMLFormControlsCollection.namedItem(name) should return the 'input' element in radio status.")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html:66:3) |
|
Pass | The namedItem(name) must return an Element | Asserts runPass | assert_true(true, "Can not return 'Element' object.")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html:70:3) |
|
Pass | The namedItem(name) must return RadioNodeList | Asserts runPass | assert_true(true, "Can not return 'RadioNodeList' object.")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html:74:3) |
|
Pass | The namedItem(name) must return null if the name is empty | Asserts runPass | assert_equals(null, null, "The return value of namedItem() should be null.")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html:78:3) |
|
Pass | The namedItem(name) must return null if there is no matched element | Asserts runPass | assert_equals(null, null, "The return value of namedItem() should be null.")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html:82:3) |
|
Pass | Controls can be indexed by id or name attribute | Asserts runPass | assert_equals(Element node <input type="radio" id="r1" name="ra"></input>, Element node <input type="radio" id="r1" name="ra"></input>, "Controls can be named by 'id' attribute.")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html:86:3) | Pass | assert_equals(Element node <input type="radio" id="r1" name="ra"></input>, Element node <input type="radio" id="r1" name="ra"></input>, "Controls can be named by 'name' attribute.")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html:87:3) |
|
Pass | Keygen controls do not show up at all | Asserts runPass | assert_equals(null, null, "Keygen does not show up when queried by id.")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html:91:3) | Pass | assert_equals(null, null, "Keygen does not show up when queried by name.")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html:92:3) |
|
Pass | The namedItem(name) must return the items with id or name attribute | Asserts runPass | assert_equals(2, 2, "The length attribute should be 2.")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html:96:3) |
|
Pass | The HTMLFormControlsCollection interface is used for collections of listed elements in form element | Asserts runPass | assert_equals(7, 7, "The length should be 7.")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html:109:5) |
|
Pass | The HTMLFormControlsCollection interface is used for collections of listed elements in fieldset element | Asserts runPass | assert_equals(7, 7, "The length should be 7.")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html:109:5) |
|
Pass | The controls in the form element must be sorted in tree order | Asserts runPass | assert_array_equals(object "[object HTMLFormControlsCollection]", [Element node <output></output>, Element node <input type="checkbox" id="cb"></input>, Element node <input type="checkbox" name="cb"></input>, Element node <button id="btn"></button>, Element node <button name="btn"></button>])
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html:116:3) |
|