Summary

Harness status: OK

Found 45 tests

Details

ResultTest NameMessage
PassSanity check for testValue length; if this fails, variou absolute offsets in the test below need to be adjusted to be less than testValue.length
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:66:5)
PassInitial .value set on input-appended should set selectionStart to end of value
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:73:11)
PassInitial .value set on input-not-appended should set selectionStart to end of value
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:73:11)
PassInitial .value set on input-appended-prefocused should set selectionStart to end of value
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:73:11)
PassInitial .value set on input-not-appended-prefocused should set selectionStart to end of value
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:73:11)
PassInitial .value set on textarea-appended should set selectionStart to end of value
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:73:11)
PassInitial .value set on textarea-not-appended should set selectionStart to end of value
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:73:11)
PassInitial .value set on textarea-appended-prefocused should set selectionStart to end of value
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:73:11)
PassInitial .value set on textarea-not-appended-prefocused should set selectionStart to end of value
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:73:11)
PassInitial .value set on input-appended should set selectionEnd to end of value
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:73:11)
PassInitial .value set on input-not-appended should set selectionEnd to end of value
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:73:11)
PassInitial .value set on input-appended-prefocused should set selectionEnd to end of value
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:73:11)
PassInitial .value set on input-not-appended-prefocused should set selectionEnd to end of value
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:73:11)
PassInitial .value set on textarea-appended should set selectionEnd to end of value
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:73:11)
PassInitial .value set on textarea-not-appended should set selectionEnd to end of value
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:73:11)
PassInitial .value set on textarea-appended-prefocused should set selectionEnd to end of value
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:73:11)
PassInitial .value set on textarea-not-appended-prefocused should set selectionEnd to end of value
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:73:11)
Passonselect should fire when selectionStart is changed
Asserts runNo asserts ran
Passonselect should fire when selectionStart is changed on input-appended
Asserts run
Pass
assert_equals("select", "select")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:83:9)
Passonselect should fire when selectionStart is changed on input-not-appended
Asserts run
Pass
assert_equals("select", "select")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:83:9)
Passonselect should fire when selectionStart is changed on input-appended-prefocused
Asserts run
Pass
assert_equals("select", "select")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:83:9)
Passonselect should fire when selectionStart is changed on input-not-appended-prefocused
Asserts run
Pass
assert_equals("select", "select")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:83:9)
Passonselect should fire when selectionStart is changed on textarea-appended
Asserts run
Pass
assert_equals("select", "select")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:83:9)
Passonselect should fire when selectionStart is changed on textarea-not-appended
Asserts run
Pass
assert_equals("select", "select")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:83:9)
Passonselect should fire when selectionStart is changed on textarea-appended-prefocused
Asserts run
Pass
assert_equals("select", "select")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:83:9)
Passonselect should fire when selectionStart is changed on textarea-not-appended-prefocused
Asserts run
Pass
assert_equals("select", "select")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:83:9)
Passonselect should fire when selectionStart is changed on
Asserts run
Pass
assert_equals("select", "select")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:83:9)
Passonselect should fire when selectionEnd is changed
Asserts runNo asserts ran
Passonselect should fire when selectionEnd is changed on input-appended
Asserts run
Pass
assert_equals("select", "select")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:94:9)
Passonselect should fire when selectionEnd is changed on input-not-appended
Asserts run
Pass
assert_equals("select", "select")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:94:9)
Passonselect should fire when selectionEnd is changed on input-appended-prefocused
Asserts run
Pass
assert_equals("select", "select")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:94:9)
Passonselect should fire when selectionEnd is changed on input-not-appended-prefocused
Asserts run
Pass
assert_equals("select", "select")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:94:9)
Passonselect should fire when selectionEnd is changed on textarea-appended
Asserts run
Pass
assert_equals("select", "select")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:94:9)
Passonselect should fire when selectionEnd is changed on textarea-not-appended
Asserts run
Pass
assert_equals("select", "select")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:94:9)
Passonselect should fire when selectionEnd is changed on textarea-appended-prefocused
Asserts run
Pass
assert_equals("select", "select")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:94:9)
Passonselect should fire when selectionEnd is changed on textarea-not-appended-prefocused
Asserts run
Pass
assert_equals("select", "select")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:94:9)
Passonselect should fire when selectionEnd is changed on
Asserts run
Pass
assert_equals("select", "select")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:94:9)
PassSetting selectionStart to a value larger than selectionEnd should increase selectionEnd
Asserts run
Pass
assert_equals(8, 8, "selectionStart on input-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:106:7)
Pass
assert_equals(8, 8, "selectionEnd on input-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:107:7)
Pass
assert_equals(8, 8, "selectionStart on input-not-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:106:7)
Pass
assert_equals(8, 8, "selectionEnd on input-not-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:107:7)
Pass
assert_equals(8, 8, "selectionStart on input-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:106:7)
Pass
assert_equals(8, 8, "selectionEnd on input-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:107:7)
Pass
assert_equals(8, 8, "selectionStart on input-not-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:106:7)
Pass
assert_equals(8, 8, "selectionEnd on input-not-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:107:7)
Pass
assert_equals(8, 8, "selectionStart on textarea-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:106:7)
Pass
assert_equals(8, 8, "selectionEnd on textarea-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:107:7)
Pass
assert_equals(8, 8, "selectionStart on textarea-not-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:106:7)
Pass
assert_equals(8, 8, "selectionEnd on textarea-not-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:107:7)
Pass
assert_equals(8, 8, "selectionStart on textarea-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:106:7)
Pass
assert_equals(8, 8, "selectionEnd on textarea-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:107:7)
Pass
assert_equals(8, 8, "selectionStart on textarea-not-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:106:7)
Pass
assert_equals(8, 8, "selectionEnd on textarea-not-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:107:7)
Pass
assert_equals(8, 8, "selectionStart on ")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:106:7)
Pass
assert_equals(8, 8, "selectionEnd on ")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:107:7)
PassSetting selectionEnd to a value smaller than selectionStart should decrease selectionStart
Asserts run
Pass
assert_equals(5, 5, "selectionStart on input-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:116:7)
Pass
assert_equals(5, 5, "selectionEnd on input-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:117:7)
Pass
assert_equals(5, 5, "selectionStart on input-not-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:116:7)
Pass
assert_equals(5, 5, "selectionEnd on input-not-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:117:7)
Pass
assert_equals(5, 5, "selectionStart on input-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:116:7)
Pass
assert_equals(5, 5, "selectionEnd on input-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:117:7)
Pass
assert_equals(5, 5, "selectionStart on input-not-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:116:7)
Pass
assert_equals(5, 5, "selectionEnd on input-not-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:117:7)
Pass
assert_equals(5, 5, "selectionStart on textarea-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:116:7)
Pass
assert_equals(5, 5, "selectionEnd on textarea-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:117:7)
Pass
assert_equals(5, 5, "selectionStart on textarea-not-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:116:7)
Pass
assert_equals(5, 5, "selectionEnd on textarea-not-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:117:7)
Pass
assert_equals(5, 5, "selectionStart on textarea-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:116:7)
Pass
assert_equals(5, 5, "selectionEnd on textarea-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:117:7)
Pass
assert_equals(5, 5, "selectionStart on textarea-not-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:116:7)
Pass
assert_equals(5, 5, "selectionEnd on textarea-not-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:117:7)
Pass
assert_equals(5, 5, "selectionStart on ")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:116:7)
Pass
assert_equals(5, 5, "selectionEnd on ")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:117:7)
PassselectionStart edge-case values
Asserts run
Pass
assert_equals(0, 0, "We just set it on input-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:125:7)
Pass
assert_equals(10, 10, "selectionStart setter on input-appended should convert -1 to 2^32-1")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:127:7)
Pass
assert_equals(0, 0, "selectionStart setter on input-appended should convert 2^32 to 0")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:130:7)
Pass
assert_equals(10, 10, "selectionStart setter on input-appended should leave 2^32-1 as-is")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:133:7)
Pass
assert_equals(0, 0, "We just set it on input-not-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:125:7)
Pass
assert_equals(10, 10, "selectionStart setter on input-not-appended should convert -1 to 2^32-1")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:127:7)
Pass
assert_equals(0, 0, "selectionStart setter on input-not-appended should convert 2^32 to 0")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:130:7)
Pass
assert_equals(10, 10, "selectionStart setter on input-not-appended should leave 2^32-1 as-is")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:133:7)
Pass
assert_equals(0, 0, "We just set it on input-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:125:7)
Pass
assert_equals(10, 10, "selectionStart setter on input-appended-prefocused should convert -1 to 2^32-1")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:127:7)
Pass
assert_equals(0, 0, "selectionStart setter on input-appended-prefocused should convert 2^32 to 0")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:130:7)
Pass
assert_equals(10, 10, "selectionStart setter on input-appended-prefocused should leave 2^32-1 as-is")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:133:7)
Pass
assert_equals(0, 0, "We just set it on input-not-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:125:7)
Pass
assert_equals(10, 10, "selectionStart setter on input-not-appended-prefocused should convert -1 to 2^32-1")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:127:7)
Pass
assert_equals(0, 0, "selectionStart setter on input-not-appended-prefocused should convert 2^32 to 0")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:130:7)
Pass
assert_equals(10, 10, "selectionStart setter on input-not-appended-prefocused should leave 2^32-1 as-is")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:133:7)
Pass
assert_equals(0, 0, "We just set it on textarea-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:125:7)
Pass
assert_equals(10, 10, "selectionStart setter on textarea-appended should convert -1 to 2^32-1")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:127:7)
Pass
assert_equals(0, 0, "selectionStart setter on textarea-appended should convert 2^32 to 0")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:130:7)
Pass
assert_equals(10, 10, "selectionStart setter on textarea-appended should leave 2^32-1 as-is")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:133:7)
Pass
assert_equals(0, 0, "We just set it on textarea-not-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:125:7)
Pass
assert_equals(10, 10, "selectionStart setter on textarea-not-appended should convert -1 to 2^32-1")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:127:7)
Pass
assert_equals(0, 0, "selectionStart setter on textarea-not-appended should convert 2^32 to 0")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:130:7)
Pass
assert_equals(10, 10, "selectionStart setter on textarea-not-appended should leave 2^32-1 as-is")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:133:7)
Pass
assert_equals(0, 0, "We just set it on textarea-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:125:7)
Pass
assert_equals(10, 10, "selectionStart setter on textarea-appended-prefocused should convert -1 to 2^32-1")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:127:7)
Pass
assert_equals(0, 0, "selectionStart setter on textarea-appended-prefocused should convert 2^32 to 0")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:130:7)
Pass
assert_equals(10, 10, "selectionStart setter on textarea-appended-prefocused should leave 2^32-1 as-is")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:133:7)
Pass
assert_equals(0, 0, "We just set it on textarea-not-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:125:7)
Pass
assert_equals(10, 10, "selectionStart setter on textarea-not-appended-prefocused should convert -1 to 2^32-1")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:127:7)
Pass
assert_equals(0, 0, "selectionStart setter on textarea-not-appended-prefocused should convert 2^32 to 0")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:130:7)
Pass
assert_equals(10, 10, "selectionStart setter on textarea-not-appended-prefocused should leave 2^32-1 as-is")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:133:7)
Pass
assert_equals(0, 0, "We just set it on ")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:125:7)
Pass
assert_equals(10, 10, "selectionStart setter on  should convert -1 to 2^32-1")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:127:7)
Pass
assert_equals(0, 0, "selectionStart setter on  should convert 2^32 to 0")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:130:7)
Pass
assert_equals(10, 10, "selectionStart setter on  should leave 2^32-1 as-is")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:133:7)
PassselectionEnd edge-case values
Asserts run
Pass
assert_equals(0, 0, "We just set it on input-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:142:7)
Pass
assert_equals(10, 10, "selectionEnd setter on input-appended should convert -1 to 2^32-1")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:144:7)
Pass
assert_equals(0, 0, "selectionEnd setter on input-appended should convert 2^32 to 0")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:147:7)
Pass
assert_equals(10, 10, "selectionEnd setter on input-appended should leave 2^32-1 as-is")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:150:7)
Pass
assert_equals(0, 0, "We just set it on input-not-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:142:7)
Pass
assert_equals(10, 10, "selectionEnd setter on input-not-appended should convert -1 to 2^32-1")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:144:7)
Pass
assert_equals(0, 0, "selectionEnd setter on input-not-appended should convert 2^32 to 0")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:147:7)
Pass
assert_equals(10, 10, "selectionEnd setter on input-not-appended should leave 2^32-1 as-is")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:150:7)
Pass
assert_equals(0, 0, "We just set it on input-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:142:7)
Pass
assert_equals(10, 10, "selectionEnd setter on input-appended-prefocused should convert -1 to 2^32-1")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:144:7)
Pass
assert_equals(0, 0, "selectionEnd setter on input-appended-prefocused should convert 2^32 to 0")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:147:7)
Pass
assert_equals(10, 10, "selectionEnd setter on input-appended-prefocused should leave 2^32-1 as-is")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:150:7)
Pass
assert_equals(0, 0, "We just set it on input-not-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:142:7)
Pass
assert_equals(10, 10, "selectionEnd setter on input-not-appended-prefocused should convert -1 to 2^32-1")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:144:7)
Pass
assert_equals(0, 0, "selectionEnd setter on input-not-appended-prefocused should convert 2^32 to 0")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:147:7)
Pass
assert_equals(10, 10, "selectionEnd setter on input-not-appended-prefocused should leave 2^32-1 as-is")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:150:7)
Pass
assert_equals(0, 0, "We just set it on textarea-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:142:7)
Pass
assert_equals(10, 10, "selectionEnd setter on textarea-appended should convert -1 to 2^32-1")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:144:7)
Pass
assert_equals(0, 0, "selectionEnd setter on textarea-appended should convert 2^32 to 0")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:147:7)
Pass
assert_equals(10, 10, "selectionEnd setter on textarea-appended should leave 2^32-1 as-is")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:150:7)
Pass
assert_equals(0, 0, "We just set it on textarea-not-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:142:7)
Pass
assert_equals(10, 10, "selectionEnd setter on textarea-not-appended should convert -1 to 2^32-1")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:144:7)
Pass
assert_equals(0, 0, "selectionEnd setter on textarea-not-appended should convert 2^32 to 0")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:147:7)
Pass
assert_equals(10, 10, "selectionEnd setter on textarea-not-appended should leave 2^32-1 as-is")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:150:7)
Pass
assert_equals(0, 0, "We just set it on textarea-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:142:7)
Pass
assert_equals(10, 10, "selectionEnd setter on textarea-appended-prefocused should convert -1 to 2^32-1")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:144:7)
Pass
assert_equals(0, 0, "selectionEnd setter on textarea-appended-prefocused should convert 2^32 to 0")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:147:7)
Pass
assert_equals(10, 10, "selectionEnd setter on textarea-appended-prefocused should leave 2^32-1 as-is")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:150:7)
Pass
assert_equals(0, 0, "We just set it on textarea-not-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:142:7)
Pass
assert_equals(10, 10, "selectionEnd setter on textarea-not-appended-prefocused should convert -1 to 2^32-1")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:144:7)
Pass
assert_equals(0, 0, "selectionEnd setter on textarea-not-appended-prefocused should convert 2^32 to 0")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:147:7)
Pass
assert_equals(10, 10, "selectionEnd setter on textarea-not-appended-prefocused should leave 2^32-1 as-is")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:150:7)
Pass
assert_equals(0, 0, "We just set it on ")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:142:7)
Pass
assert_equals(10, 10, "selectionEnd setter on  should convert -1 to 2^32-1")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:144:7)
Pass
assert_equals(0, 0, "selectionEnd setter on  should convert 2^32 to 0")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:147:7)
Pass
assert_equals(10, 10, "selectionEnd setter on  should leave 2^32-1 as-is")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:150:7)
PassselectionStart should be clamped by the current value length
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:159:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:159:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:159:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:159:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:159:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:159:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:159:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:159:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:159:7)
PassselectionEnd should be clamped by the current value length
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:167:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:167:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:167:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:167:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:167:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:167:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:167:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:167:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:167:7)
PasssetSelectionRange should be clamped by the current value length
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:175:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:176:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:175:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:176:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:175:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:176:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:175:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:176:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:175:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:176:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:175:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:176:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:175:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:176:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:175:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:176:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:175:7)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:176:7)
PassselectionStart and selectionEnd should remain the same when selectionDirection is changed
Asserts run
Pass
assert_equals(1, 1, "selectionStart on input-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:188:7)
Pass
assert_equals(9, 9, "selectionEnd on input-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:189:7)
Pass
assert_equals(1, 1, "selectionStart on input-appended after setting selectionDirection to \"backward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:193:7)
Pass
assert_equals(9, 9, "selectionEnd on input-appended after setting selectionDirection to \"backward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:195:7)
Pass
assert_equals(1, 1, "selectionStart on input-appended after setting selectionDirection to \"forward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:200:7)
Pass
assert_equals(9, 9, "selectionEnd on input-appended after setting selectionDirection to \"forward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:202:7)
Pass
assert_equals(1, 1, "selectionStart on input-not-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:188:7)
Pass
assert_equals(9, 9, "selectionEnd on input-not-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:189:7)
Pass
assert_equals(1, 1, "selectionStart on input-not-appended after setting selectionDirection to \"backward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:193:7)
Pass
assert_equals(9, 9, "selectionEnd on input-not-appended after setting selectionDirection to \"backward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:195:7)
Pass
assert_equals(1, 1, "selectionStart on input-not-appended after setting selectionDirection to \"forward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:200:7)
Pass
assert_equals(9, 9, "selectionEnd on input-not-appended after setting selectionDirection to \"forward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:202:7)
Pass
assert_equals(1, 1, "selectionStart on input-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:188:7)
Pass
assert_equals(9, 9, "selectionEnd on input-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:189:7)
Pass
assert_equals(1, 1, "selectionStart on input-appended-prefocused after setting selectionDirection to \"backward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:193:7)
Pass
assert_equals(9, 9, "selectionEnd on input-appended-prefocused after setting selectionDirection to \"backward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:195:7)
Pass
assert_equals(1, 1, "selectionStart on input-appended-prefocused after setting selectionDirection to \"forward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:200:7)
Pass
assert_equals(9, 9, "selectionEnd on input-appended-prefocused after setting selectionDirection to \"forward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:202:7)
Pass
assert_equals(1, 1, "selectionStart on input-not-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:188:7)
Pass
assert_equals(9, 9, "selectionEnd on input-not-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:189:7)
Pass
assert_equals(1, 1, "selectionStart on input-not-appended-prefocused after setting selectionDirection to \"backward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:193:7)
Pass
assert_equals(9, 9, "selectionEnd on input-not-appended-prefocused after setting selectionDirection to \"backward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:195:7)
Pass
assert_equals(1, 1, "selectionStart on input-not-appended-prefocused after setting selectionDirection to \"forward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:200:7)
Pass
assert_equals(9, 9, "selectionEnd on input-not-appended-prefocused after setting selectionDirection to \"forward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:202:7)
Pass
assert_equals(1, 1, "selectionStart on textarea-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:188:7)
Pass
assert_equals(9, 9, "selectionEnd on textarea-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:189:7)
Pass
assert_equals(1, 1, "selectionStart on textarea-appended after setting selectionDirection to \"backward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:193:7)
Pass
assert_equals(9, 9, "selectionEnd on textarea-appended after setting selectionDirection to \"backward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:195:7)
Pass
assert_equals(1, 1, "selectionStart on textarea-appended after setting selectionDirection to \"forward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:200:7)
Pass
assert_equals(9, 9, "selectionEnd on textarea-appended after setting selectionDirection to \"forward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:202:7)
Pass
assert_equals(1, 1, "selectionStart on textarea-not-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:188:7)
Pass
assert_equals(9, 9, "selectionEnd on textarea-not-appended")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:189:7)
Pass
assert_equals(1, 1, "selectionStart on textarea-not-appended after setting selectionDirection to \"backward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:193:7)
Pass
assert_equals(9, 9, "selectionEnd on textarea-not-appended after setting selectionDirection to \"backward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:195:7)
Pass
assert_equals(1, 1, "selectionStart on textarea-not-appended after setting selectionDirection to \"forward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:200:7)
Pass
assert_equals(9, 9, "selectionEnd on textarea-not-appended after setting selectionDirection to \"forward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:202:7)
Pass
assert_equals(1, 1, "selectionStart on textarea-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:188:7)
Pass
assert_equals(9, 9, "selectionEnd on textarea-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:189:7)
Pass
assert_equals(1, 1, "selectionStart on textarea-appended-prefocused after setting selectionDirection to \"backward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:193:7)
Pass
assert_equals(9, 9, "selectionEnd on textarea-appended-prefocused after setting selectionDirection to \"backward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:195:7)
Pass
assert_equals(1, 1, "selectionStart on textarea-appended-prefocused after setting selectionDirection to \"forward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:200:7)
Pass
assert_equals(9, 9, "selectionEnd on textarea-appended-prefocused after setting selectionDirection to \"forward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:202:7)
Pass
assert_equals(1, 1, "selectionStart on textarea-not-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:188:7)
Pass
assert_equals(9, 9, "selectionEnd on textarea-not-appended-prefocused")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:189:7)
Pass
assert_equals(1, 1, "selectionStart on textarea-not-appended-prefocused after setting selectionDirection to \"backward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:193:7)
Pass
assert_equals(9, 9, "selectionEnd on textarea-not-appended-prefocused after setting selectionDirection to \"backward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:195:7)
Pass
assert_equals(1, 1, "selectionStart on textarea-not-appended-prefocused after setting selectionDirection to \"forward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:200:7)
Pass
assert_equals(9, 9, "selectionEnd on textarea-not-appended-prefocused after setting selectionDirection to \"forward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:202:7)
Pass
assert_equals(1, 1, "selectionStart on ")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:188:7)
Pass
assert_equals(9, 9, "selectionEnd on ")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:189:7)
Pass
assert_equals(1, 1, "selectionStart on  after setting selectionDirection to \"backward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:193:7)
Pass
assert_equals(9, 9, "selectionEnd on  after setting selectionDirection to \"backward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:195:7)
Pass
assert_equals(1, 1, "selectionStart on  after setting selectionDirection to \"forward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:200:7)
Pass
assert_equals(9, 9, "selectionEnd on  after setting selectionDirection to \"forward\"")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/selection-start-end.html:202:7)