Pass | if only one item has a *name* or id value matching the parameter, return that object and stop | Asserts runPass | assert_equals("nameonly", "nameonly")
at Test.<anonymous> ( /html/semantics/forms/the-select-element/common-HTMLOptionsCollection-namedItem.html:30:5) |
|
Pass | if only one item has a name or *id* value matching the parameter, return that object and stop | Asserts runPass | assert_equals("2", "2")
at Test.<anonymous> ( /html/semantics/forms/the-select-element/common-HTMLOptionsCollection-namedItem.html:34:5) |
|
Pass | if no item has a name or id value matching the parameter, return null and stop | Asserts runPass | assert_equals(null, null)
at Test.<anonymous> ( /html/semantics/forms/the-select-element/common-HTMLOptionsCollection-namedItem.html:38:5) |
|
Pass | if multiple items have a name or *id* value matching the parameter, return the first object and stop | Asserts runPass | assert_equals("3", "3")
at Test.<anonymous> ( /html/semantics/forms/the-select-element/common-HTMLOptionsCollection-namedItem.html:42:5) |
|
Pass | if multiple items have a *name* or id value matching the parameter, return the first object and stop | Asserts runPass | assert_equals("4", "4")
at Test.<anonymous> ( /html/semantics/forms/the-select-element/common-HTMLOptionsCollection-namedItem.html:46:5) |
|
Pass | if multiple items have a *name* or *id* value matching the parameter, return the first object and stop | Asserts runPass | assert_equals("mixed ID", "mixed ID")
at Test.<anonymous> ( /html/semantics/forms/the-select-element/common-HTMLOptionsCollection-namedItem.html:50:5) |
|