Pass | cannot find the class name | Asserts runPass | assert_array_equals(object "[object HTMLCollection]", [])
at Test.<anonymous> ( /dom/nodes/getElementsByClassName-32.html:26:3) |
|
Pass | finds the class name | Asserts runPass | assert_array_equals(object "[object HTMLCollection]", [Element node <p class="first-p"></p>])
at Test.<anonymous> ( /dom/nodes/getElementsByClassName-32.html:37:3) |
|
Pass | finds the same element with multiple class names | Asserts runPass | assert_array_equals(object "[object HTMLCollection]", [Element node <p class="the-p second third"></p>])
at Test.<anonymous> ( /dom/nodes/getElementsByClassName-32.html:49:3) | Pass | assert_array_equals(object "[object HTMLCollection]", [Element node <p class="the-p second third"></p>])
at Test.<anonymous> ( /dom/nodes/getElementsByClassName-32.html:52:3) | Pass | assert_array_equals(object "[object HTMLCollection]", [Element node <p class="the-p second third"></p>])
at Test.<anonymous> ( /dom/nodes/getElementsByClassName-32.html:55:3) |
|
Pass | does not get confused by numeric IDs | Asserts runPass | assert_equals(3, 3)
at Test.<anonymous> ( /dom/nodes/getElementsByClassName-32.html:63:3) | Pass | assert_array_equals(["1", "2", "3"], ["1", "2", "3"])
at Test.<anonymous> ( /dom/nodes/getElementsByClassName-32.html:64:3) |
|