Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
PassVerify that using HTMLOptionElement.text setter does not update the existing text child node.
Asserts run
Pass
assert_equals("bar", "bar", "Verify that text child node's value equals the option value.")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-setter.html:13:5)
Pass
assert_true(true, "Verify that text child node is in the document.")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-setter.html:14:5)
Pass
assert_equals("bar", "bar", "Verify that the text child node does not have an updated value.")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-setter.html:16:5)
Pass
assert_false(false, "Verify that the text child node is not in the document.")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-setter.html:17:5)
Pass
assert_not_equals(Text node "bar", Text node "baz", "Verify that text child node was replaced by a different text child node.")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-setter.html:18:5)
Pass
assert_equals("baz", "baz", "Verify that the new text child node does equal the updated value.")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-setter.html:19:5)
Pass
assert_equals("baz", "baz", "Verify that option text getter returns the updated value.")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-setter.html:20:5)
Pass
assert_equals(null, null, "Verify that after setting to empty string there are no child text nodes.")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-setter.html:22:5)