Summary

Harness status: OK

Found 11 tests

Details

ResultTest NameMessage
PassSetting defaultValue in a textarea should NOT move the cursor to the end
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:15:5)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:16:5)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:18:5)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:19:5)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:20:5)
PassSetting defaultValue in a textarea with a value should NOT make any difference
Asserts run
Pass
assert_equals(6, 6)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:26:5)
Pass
assert_equals(6, 6)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:27:5)
Pass
assert_equals(6, 6)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:29:5)
Pass
assert_equals(6, 6)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:30:5)
Pass
assert_equals(6, 6)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:31:5)
PassSetting textContent in a textarea should NOT move selection{Start,End} to the end
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:37:5)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:38:5)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:40:5)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:41:5)
PassAdding children to a textarea should NOT move selection{Start,End} to the end
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:47:5)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:48:5)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:50:5)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:51:5)
PassRemoving children from a textarea should NOT update selection{Start,End}
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:58:5)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:59:5)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:62:5)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:63:5)
PassSetting the same value (with different newlines) in a textarea should NOT update selection{Start,End}
Asserts run
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:73:5)
Pass
assert_equals(5, 5)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:74:5)
PassRemoving child nodes in non-dirty textarea should make selection{Start,End} 0
Asserts run
Pass
assert_equals(0, 0, "selectionStart after node removal")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:83:5)
Pass
assert_equals(0, 0, "selectionEnd after node removal")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:84:5)
Pass
assert_equals(0, 0, "selectionStart after appendChild")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:86:5)
Pass
assert_equals(0, 0, "selectionEnd after appendChild")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:87:5)
Pass
assert_equals(0, 0, "selectionStart after textContent setter")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:92:5)
Pass
assert_equals(0, 0, "selectionEnd after textContent setter")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:93:5)
Pass
assert_equals(0, 0, "selectionStart after defaultValue setter")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:98:5)
Pass
assert_equals(0, 0, "selectionEnd after defaultValue setter")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:99:5)
PassSetting value to a shorter string than defaultValue should correct the cursor position
Asserts run
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:106:5)
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:110:5)
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:111:5)
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:112:5)
PassShortening value by turning the input type into 'url' should correct selection{Start,End}
Asserts run
Pass
assert_equals(21, 21)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:119:5)
Pass
assert_equals(21, 21)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:120:5)
Pass
assert_equals(18, 18)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:122:5)
Pass
assert_equals(18, 18)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:123:5)
PassShortening value by turning the input type into 'color' and back to 'text' should correct selection{Start,End}
Asserts run
Pass
assert_equals(9, 9)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:130:5)
Pass
assert_equals(9, 9)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:131:5)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:138:5)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:139:5)
PassResetting a value to a shorter string than defaultValue should correct the cursor position
Asserts run
Pass
assert_equals(5, 5)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:147:5)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:149:5)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:150:5)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end-extra.html:151:5)