selection-start-end-extra.html

FAILExpected9 of 11 subtests pass359 ms

Details

Test
/html/semantics/forms/textfieldselection/selection-start-end-extra.html
Harness
OK

Subtests

StatusSubtestMessage
PASSSetting defaultValue in a textarea should NOT move the cursor to the end
PASSSetting defaultValue in a textarea with a value should NOT make any difference
PASSSetting textContent in a textarea should NOT move selection{Start,End} to the end
PASSAdding children to a textarea should NOT move selection{Start,End} to the end
PASSRemoving children from a textarea should NOT update selection{Start,End}
PASSSetting the same value (with different newlines) in a textarea should NOT update selection{Start,End}
FAILRemoving child nodes in non-dirty textarea should make selection{Start,End} 0
assert_equals: selectionStart after textContent setter expected 0 but got 3
assert_equals: selectionStart after textContent setter expected 0 but got 3
PASSSetting value to a shorter string than defaultValue should correct the cursor position
PASSShortening value by turning the input type into 'url' should correct selection{Start,End}
FAILShortening value by turning the input type into 'color' and back to 'text' should correct selection{Start,End}
assert_equals: expected 0 but got 7
assert_equals: expected 0 but got 7
PASSResetting a value to a shorter string than defaultValue should correct the cursor position