Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
PassThe type attribute must return 'fieldset'
Asserts run
Pass
assert_equals("fieldset", "fieldset", "The value of type attribute is incorrect.")
    at Test.<anonymous> ( /html/semantics/forms/the-fieldset-element/HTMLFieldSetElement.html:33:3)
PassThe form attribute must return the fieldset's form owner
Asserts run
Pass
assert_equals(Element node <form name="fm1" style="display:none">   <fieldset id="fs..., Element node <form name="fm1" style="display:none">   <fieldset id="fs..., "The fieldset should have a form owner.")
    at Test.<anonymous> ( /html/semantics/forms/the-fieldset-element/HTMLFieldSetElement.html:37:3)
PassThe elements must return an HTMLCollection object
Asserts run
Pass
assert_equals(function "function HTMLCollection() { [native code] }", function "function HTMLCollection() { [native code] }", "The elements attribute should be an HTMLCollection object")
    at Test.<anonymous> ( /html/semantics/forms/the-fieldset-element/HTMLFieldSetElement.html:41:3)
PassThe controls must root at the fieldset element
Asserts run
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <input type="text" name="txt_inner"></input>], "The items in the collection must be children of the inner fieldset element.")
    at Test.<anonymous> ( /html/semantics/forms/the-fieldset-element/HTMLFieldSetElement.html:48:3)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <input type="checkbox" name="cb"></input>, Element node <input type="text" name="txt" id="ctl1"></input>, Element node <button id="ctl2" name="btn">BUTTON</button>, Element node <fieldset id="fs_inner">       <input type="text" name="t..., Element node <input type="text" name="txt_inner"></input>], "The items in the collection must be children of the outer fieldset element.")
    at Test.<anonymous> ( /html/semantics/forms/the-fieldset-element/HTMLFieldSetElement.html:50:3)