html/semantics/forms/textfieldselection/
789 / 790 WPT subtests passing
- Failed
- 1
- Timed out
- 0
- Not run
- 0
- Test files
- 15
- Blocking files
- 0
Chrome 784 / 790 WPT subtests passing on the same files, none blocking, 1 without a result
Tests
15 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
defaultSelection.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Default selectionStart and selectionEnd for [object HTMLTextAreaElement]
- selectionStart and selectionEnd do not change when same value set again for [object HTMLTextAreaElement]
- selectionStart and selectionEnd change when value changed to upper case for [object HTMLTextAreaElement]
- Default selectionStart and selectionEnd for [object HTMLInputElement]
- selectionStart and selectionEnd do not change when same value set again for [object HTMLInputElement]
- selectionStart and selectionEnd change when value changed to upper case for [object HTMLInputElement]
select-event.html 270 / 270 passingChrome 264 / 2700 failedClean
270 passing subtests
- textarea: select()
- textarea: select() a second time (must not fire select)
- textarea: select() disconnected node
- textarea: select() event queue
- textarea: select() twice in disconnected node (must fire select only once)
- textarea: selectionStart
- textarea: selectionStart a second time (must not fire select)
- textarea: selectionStart disconnected node
- textarea: selectionStart event queue
- textarea: selectionStart twice in disconnected node (must fire select only once)
- textarea: selectionEnd
- textarea: selectionEnd a second time (must not fire select)
- textarea: selectionEnd disconnected node
- textarea: selectionEnd event queue
- textarea: selectionEnd twice in disconnected node (must fire select only once)
- textarea: selectionDirection
- textarea: selectionDirection a second time (must not fire select)
- textarea: selectionDirection disconnected node
- textarea: selectionDirection event queue
- textarea: selectionDirection twice in disconnected node (must fire select only once)
- textarea: setSelectionRange()
- textarea: setSelectionRange() a second time (must not fire select)
- textarea: setSelectionRange() disconnected node
- textarea: setSelectionRange() event queue
- textarea: setSelectionRange() twice in disconnected node (must fire select only once)
- textarea: setRangeText()
- textarea: setRangeText() a second time (must not fire select)
- textarea: setRangeText() disconnected node
- textarea: setRangeText() event queue
- textarea: setRangeText() twice in disconnected node (must fire select only once)
- textarea: selectionStart out of range
- textarea: selectionStart out of range a second time (must not fire select)
- textarea: selectionStart out of range disconnected node
- textarea: selectionStart out of range event queue
- textarea: selectionStart out of range twice in disconnected node (must fire select only once)
- textarea: selectionEnd out of range
- textarea: selectionEnd out of range a second time (must not fire select)
- textarea: selectionEnd out of range disconnected node
- textarea: selectionEnd out of range event queue
- textarea: selectionEnd out of range twice in disconnected node (must fire select only once)
- textarea: setSelectionRange out of range
- textarea: setSelectionRange out of range a second time (must not fire select)
- textarea: setSelectionRange out of range disconnected node
- textarea: setSelectionRange out of range event queue
- textarea: setSelectionRange out of range twice in disconnected node (must fire select only once)
- input type text: select()
- input type text: select() a second time (must not fire select)
- input type text: select() disconnected node
- input type text: select() event queue
- input type text: select() twice in disconnected node (must fire select only once)
- input type text: selectionStart
- input type text: selectionStart a second time (must not fire select)
- input type text: selectionStart disconnected node
- input type text: selectionStart event queue
- input type text: selectionStart twice in disconnected node (must fire select only once)
- input type text: selectionEnd
- input type text: selectionEnd a second time (must not fire select)
- input type text: selectionEnd disconnected node
- input type text: selectionEnd event queue
- input type text: selectionEnd twice in disconnected node (must fire select only once)
- input type text: selectionDirection
- input type text: selectionDirection a second time (must not fire select)
- input type text: selectionDirection disconnected node
- input type text: selectionDirection event queue
- input type text: selectionDirection twice in disconnected node (must fire select only once)
- input type text: setSelectionRange()
- input type text: setSelectionRange() a second time (must not fire select)
- input type text: setSelectionRange() disconnected node
- input type text: setSelectionRange() event queue
- input type text: setSelectionRange() twice in disconnected node (must fire select only once)
- input type text: setRangeText()
- input type text: setRangeText() a second time (must not fire select)
- input type text: setRangeText() disconnected node
- input type text: setRangeText() event queue
- input type text: setRangeText() twice in disconnected node (must fire select only once)
- input type text: selectionStart out of range
- input type text: selectionStart out of range a second time (must not fire select)
- input type text: selectionStart out of range disconnected node
- input type text: selectionStart out of range event queue
- input type text: selectionStart out of range twice in disconnected node (must fire select only once)
- input type text: selectionEnd out of range
- input type text: selectionEnd out of range a second time (must not fire select)
- input type text: selectionEnd out of range disconnected node
- input type text: selectionEnd out of range event queue
- input type text: selectionEnd out of range twice in disconnected node (must fire select only once)
- input type text: setSelectionRange out of range
- input type text: setSelectionRange out of range a second time (must not fire select)
- input type text: setSelectionRange out of range disconnected node
- input type text: setSelectionRange out of range event queue
- input type text: setSelectionRange out of range twice in disconnected node (must fire select only once)
- input type search: select()
- input type search: select() a second time (must not fire select)
- input type search: select() disconnected node
- input type search: select() event queue
- input type search: select() twice in disconnected node (must fire select only once)
- input type search: selectionStart
- input type search: selectionStart a second time (must not fire select)
- input type search: selectionStart disconnected node
- input type search: selectionStart event queue
- input type search: selectionStart twice in disconnected node (must fire select only once)
- input type search: selectionEnd
- input type search: selectionEnd a second time (must not fire select)
- input type search: selectionEnd disconnected node
- input type search: selectionEnd event queue
- input type search: selectionEnd twice in disconnected node (must fire select only once)
- input type search: selectionDirection
- input type search: selectionDirection a second time (must not fire select)
- input type search: selectionDirection disconnected node
- input type search: selectionDirection event queue
- input type search: selectionDirection twice in disconnected node (must fire select only once)
- input type search: setSelectionRange()
- input type search: setSelectionRange() a second time (must not fire select)
- input type search: setSelectionRange() disconnected node
- input type search: setSelectionRange() event queue
- input type search: setSelectionRange() twice in disconnected node (must fire select only once)
- input type search: setRangeText()
- input type search: setRangeText() a second time (must not fire select)
- input type search: setRangeText() disconnected node
- input type search: setRangeText() event queue
- input type search: setRangeText() twice in disconnected node (must fire select only once)
- input type search: selectionStart out of range
- input type search: selectionStart out of range a second time (must not fire select)
- input type search: selectionStart out of range disconnected node
- input type search: selectionStart out of range event queue
- input type search: selectionStart out of range twice in disconnected node (must fire select only once)
- input type search: selectionEnd out of range
- input type search: selectionEnd out of range a second time (must not fire select)
- input type search: selectionEnd out of range disconnected node
- input type search: selectionEnd out of range event queue
- input type search: selectionEnd out of range twice in disconnected node (must fire select only once)
- input type search: setSelectionRange out of range
- input type search: setSelectionRange out of range a second time (must not fire select)
- input type search: setSelectionRange out of range disconnected node
- input type search: setSelectionRange out of range event queue
- input type search: setSelectionRange out of range twice in disconnected node (must fire select only once)
- input type tel: select()
- input type tel: select() a second time (must not fire select)
- input type tel: select() disconnected node
- input type tel: select() event queue
- input type tel: select() twice in disconnected node (must fire select only once)
- input type tel: selectionStart
- input type tel: selectionStart a second time (must not fire select)
- input type tel: selectionStart disconnected node
- input type tel: selectionStart event queue
- input type tel: selectionStart twice in disconnected node (must fire select only once)
- input type tel: selectionEnd
- input type tel: selectionEnd a second time (must not fire select)
- input type tel: selectionEnd disconnected node
- input type tel: selectionEnd event queue
- input type tel: selectionEnd twice in disconnected node (must fire select only once)
- input type tel: selectionDirection
- input type tel: selectionDirection a second time (must not fire select)
- input type tel: selectionDirection disconnected node
- input type tel: selectionDirection event queue
- input type tel: selectionDirection twice in disconnected node (must fire select only once)
- input type tel: setSelectionRange()
- input type tel: setSelectionRange() a second time (must not fire select)
- input type tel: setSelectionRange() disconnected node
- input type tel: setSelectionRange() event queue
- input type tel: setSelectionRange() twice in disconnected node (must fire select only once)
- input type tel: setRangeText()
- input type tel: setRangeText() a second time (must not fire select)
- input type tel: setRangeText() disconnected node
- input type tel: setRangeText() event queue
- input type tel: setRangeText() twice in disconnected node (must fire select only once)
- input type tel: selectionStart out of range
- input type tel: selectionStart out of range a second time (must not fire select)
- input type tel: selectionStart out of range disconnected node
- input type tel: selectionStart out of range event queue
- input type tel: selectionStart out of range twice in disconnected node (must fire select only once)
- input type tel: selectionEnd out of range
- input type tel: selectionEnd out of range a second time (must not fire select)
- input type tel: selectionEnd out of range disconnected node
- input type tel: selectionEnd out of range event queue
- input type tel: selectionEnd out of range twice in disconnected node (must fire select only once)
- input type tel: setSelectionRange out of range
- input type tel: setSelectionRange out of range a second time (must not fire select)
- input type tel: setSelectionRange out of range disconnected node
- input type tel: setSelectionRange out of range event queue
- input type tel: setSelectionRange out of range twice in disconnected node (must fire select only once)
- input type url: select()
- input type url: select() a second time (must not fire select)
- input type url: select() disconnected node
- input type url: select() event queue
- input type url: select() twice in disconnected node (must fire select only once)
- input type url: selectionStart
- input type url: selectionStart a second time (must not fire select)
- input type url: selectionStart disconnected node
- input type url: selectionStart event queue
- input type url: selectionStart twice in disconnected node (must fire select only once)
- input type url: selectionEnd
- input type url: selectionEnd a second time (must not fire select)
- input type url: selectionEnd disconnected node
- input type url: selectionEnd event queue
- input type url: selectionEnd twice in disconnected node (must fire select only once)
- input type url: selectionDirection
- input type url: selectionDirection a second time (must not fire select)
- input type url: selectionDirection disconnected node
- input type url: selectionDirection event queue
- input type url: selectionDirection twice in disconnected node (must fire select only once)
- input type url: setSelectionRange()
- input type url: setSelectionRange() a second time (must not fire select)
- input type url: setSelectionRange() disconnected node
- input type url: setSelectionRange() event queue
- input type url: setSelectionRange() twice in disconnected node (must fire select only once)
- input type url: setRangeText()
- input type url: setRangeText() a second time (must not fire select)
- input type url: setRangeText() disconnected node
- input type url: setRangeText() event queue
- input type url: setRangeText() twice in disconnected node (must fire select only once)
- input type url: selectionStart out of range
- input type url: selectionStart out of range a second time (must not fire select)
- input type url: selectionStart out of range disconnected node
- input type url: selectionStart out of range event queue
- input type url: selectionStart out of range twice in disconnected node (must fire select only once)
- input type url: selectionEnd out of range
- input type url: selectionEnd out of range a second time (must not fire select)
- input type url: selectionEnd out of range disconnected node
- input type url: selectionEnd out of range event queue
- input type url: selectionEnd out of range twice in disconnected node (must fire select only once)
- input type url: setSelectionRange out of range
- input type url: setSelectionRange out of range a second time (must not fire select)
- input type url: setSelectionRange out of range disconnected node
- input type url: setSelectionRange out of range event queue
- input type url: setSelectionRange out of range twice in disconnected node (must fire select only once)
- input type password: select()
- input type password: select() a second time (must not fire select)
- input type password: select() disconnected node
- input type password: select() event queue
- input type password: select() twice in disconnected node (must fire select only once)
- input type password: selectionStart
- input type password: selectionStart a second time (must not fire select)
- input type password: selectionStart disconnected node
- input type password: selectionStart event queue
- input type password: selectionStart twice in disconnected node (must fire select only once)
- input type password: selectionEnd
- input type password: selectionEnd a second time (must not fire select)
- input type password: selectionEnd disconnected node
- input type password: selectionEnd event queue
- input type password: selectionEnd twice in disconnected node (must fire select only once)
- input type password: selectionDirection
- input type password: selectionDirection a second time (must not fire select)
- input type password: selectionDirection disconnected node
- input type password: selectionDirection event queue
- input type password: selectionDirection twice in disconnected node (must fire select only once)
- input type password: setSelectionRange()
- input type password: setSelectionRange() a second time (must not fire select)
- input type password: setSelectionRange() disconnected node
- input type password: setSelectionRange() event queue
- input type password: setSelectionRange() twice in disconnected node (must fire select only once)
- input type password: setRangeText()
- input type password: setRangeText() a second time (must not fire select)
- input type password: setRangeText() disconnected node
- input type password: setRangeText() event queue
- input type password: setRangeText() twice in disconnected node (must fire select only once)
- input type password: selectionStart out of range
- input type password: selectionStart out of range a second time (must not fire select)
- input type password: selectionStart out of range disconnected node
- input type password: selectionStart out of range event queue
- input type password: selectionStart out of range twice in disconnected node (must fire select only once)
- input type password: selectionEnd out of range
- input type password: selectionEnd out of range a second time (must not fire select)
- input type password: selectionEnd out of range disconnected node
- input type password: selectionEnd out of range event queue
- input type password: selectionEnd out of range twice in disconnected node (must fire select only once)
- input type password: setSelectionRange out of range
- input type password: setSelectionRange out of range a second time (must not fire select)
- input type password: setSelectionRange out of range disconnected node
- input type password: setSelectionRange out of range event queue
- input type password: setSelectionRange out of range twice in disconnected node (must fire select only once)
selection-after-content-change.html 18 / 18 passingChrome 18 / 180 failedClean
18 passing subtests
- input out of document: selection must not change when setting the same value
- input out of document: selection must change when setting a different value
- input out of document: selection must not change when setting a value that becomes the same after the value sanitization algorithm
- input in document: selection must not change when setting the same value
- input in document: selection must change when setting a different value
- input in document: selection must not change when setting a value that becomes the same after the value sanitization algorithm
- input in document, with focus: selection must not change when setting the same value
- input in document, with focus: selection must change when setting a different value
- input in document, with focus: selection must not change when setting a value that becomes the same after the value sanitization algorithm
- textarea out of document: selection must not change when setting the same value
- textarea out of document: selection must change when setting a different value
- textarea out of document: selection must not change when setting the same normalized value
- textarea in document: selection must not change when setting the same value
- textarea in document: selection must change when setting a different value
- textarea in document: selection must not change when setting the same normalized value
- textarea in document, with focus: selection must not change when setting the same value
- textarea in document, with focus: selection must change when setting a different value
- textarea in document, with focus: selection must not change when setting the same normalized value
selection-not-application-textarea.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- text field selection for the input textarea
selection-not-application.html 262 / 262 passingChrome 262 / 2620 failedClean
/html/semantics/forms/textfieldselection/selection-not-application.html?default OK 183 / 183
183 passing subtests
- selectionStart on an input[type=hidden] returns null
- selectionEnd on an input[type=hidden] returns null
- selectionDirection on an input[type=hidden] returns null
- assigning selectionStart on an input[type=hidden] throws InvalidStateError
- assigning selectionEnd on an input[type=hidden] throws InvalidStateError
- assigning selectionDirection on an input[type=hidden] throws InvalidStateError
- setRangeText on an input[type=hidden] throws InvalidStateError
- setSelectionRange on an input[type=hidden] throws InvalidStateError
- selectionStart on an input[type=email] returns null
- selectionEnd on an input[type=email] returns null
- selectionDirection on an input[type=email] returns null
- assigning selectionStart on an input[type=email] throws InvalidStateError
- assigning selectionEnd on an input[type=email] throws InvalidStateError
- assigning selectionDirection on an input[type=email] throws InvalidStateError
- setRangeText on an input[type=email] throws InvalidStateError
- setSelectionRange on an input[type=email] throws InvalidStateError
- selectionStart on an input[type=datetime-local] returns null
- selectionEnd on an input[type=datetime-local] returns null
- selectionDirection on an input[type=datetime-local] returns null
- assigning selectionStart on an input[type=datetime-local] throws InvalidStateError
- assigning selectionEnd on an input[type=datetime-local] throws InvalidStateError
- assigning selectionDirection on an input[type=datetime-local] throws InvalidStateError
- setRangeText on an input[type=datetime-local] throws InvalidStateError
- setSelectionRange on an input[type=datetime-local] throws InvalidStateError
- selectionStart on an input[type=date] returns null
- selectionEnd on an input[type=date] returns null
- selectionDirection on an input[type=date] returns null
- assigning selectionStart on an input[type=date] throws InvalidStateError
- assigning selectionEnd on an input[type=date] throws InvalidStateError
- assigning selectionDirection on an input[type=date] throws InvalidStateError
- setRangeText on an input[type=date] throws InvalidStateError
- setSelectionRange on an input[type=date] throws InvalidStateError
- selectionStart on an input[type=time] returns null
- selectionEnd on an input[type=time] returns null
- selectionDirection on an input[type=time] returns null
- assigning selectionStart on an input[type=time] throws InvalidStateError
- assigning selectionEnd on an input[type=time] throws InvalidStateError
- assigning selectionDirection on an input[type=time] throws InvalidStateError
- setRangeText on an input[type=time] throws InvalidStateError
- setSelectionRange on an input[type=time] throws InvalidStateError
- selectionStart on an input[type=number] returns null
- selectionEnd on an input[type=number] returns null
- selectionDirection on an input[type=number] returns null
- assigning selectionStart on an input[type=number] throws InvalidStateError
- assigning selectionEnd on an input[type=number] throws InvalidStateError
- assigning selectionDirection on an input[type=number] throws InvalidStateError
- setRangeText on an input[type=number] throws InvalidStateError
- setSelectionRange on an input[type=number] throws InvalidStateError
- selectionStart on an input[type=range] returns null
- selectionEnd on an input[type=range] returns null
- selectionDirection on an input[type=range] returns null
- assigning selectionStart on an input[type=range] throws InvalidStateError
- assigning selectionEnd on an input[type=range] throws InvalidStateError
- assigning selectionDirection on an input[type=range] throws InvalidStateError
- setRangeText on an input[type=range] throws InvalidStateError
- setSelectionRange on an input[type=range] throws InvalidStateError
- selectionStart on an input[type=color] returns null
- selectionEnd on an input[type=color] returns null
- selectionDirection on an input[type=color] returns null
- assigning selectionStart on an input[type=color] throws InvalidStateError
- assigning selectionEnd on an input[type=color] throws InvalidStateError
- assigning selectionDirection on an input[type=color] throws InvalidStateError
- setRangeText on an input[type=color] throws InvalidStateError
- setSelectionRange on an input[type=color] throws InvalidStateError
- selectionStart on an input[type=checkbox] returns null
- selectionEnd on an input[type=checkbox] returns null
- selectionDirection on an input[type=checkbox] returns null
- assigning selectionStart on an input[type=checkbox] throws InvalidStateError
- assigning selectionEnd on an input[type=checkbox] throws InvalidStateError
- assigning selectionDirection on an input[type=checkbox] throws InvalidStateError
- setRangeText on an input[type=checkbox] throws InvalidStateError
- setSelectionRange on an input[type=checkbox] throws InvalidStateError
- selectionStart on an input[type=radio] returns null
- selectionEnd on an input[type=radio] returns null
- selectionDirection on an input[type=radio] returns null
- assigning selectionStart on an input[type=radio] throws InvalidStateError
- assigning selectionEnd on an input[type=radio] throws InvalidStateError
- assigning selectionDirection on an input[type=radio] throws InvalidStateError
- setRangeText on an input[type=radio] throws InvalidStateError
- setSelectionRange on an input[type=radio] throws InvalidStateError
- selectionStart on an input[type=file] returns null
- selectionEnd on an input[type=file] returns null
- selectionDirection on an input[type=file] returns null
- assigning selectionStart on an input[type=file] throws InvalidStateError
- assigning selectionEnd on an input[type=file] throws InvalidStateError
- assigning selectionDirection on an input[type=file] throws InvalidStateError
- setRangeText on an input[type=file] throws InvalidStateError
- setSelectionRange on an input[type=file] throws InvalidStateError
- selectionStart on an input[type=submit] returns null
- selectionEnd on an input[type=submit] returns null
- selectionDirection on an input[type=submit] returns null
- assigning selectionStart on an input[type=submit] throws InvalidStateError
- assigning selectionEnd on an input[type=submit] throws InvalidStateError
- assigning selectionDirection on an input[type=submit] throws InvalidStateError
- setRangeText on an input[type=submit] throws InvalidStateError
- setSelectionRange on an input[type=submit] throws InvalidStateError
- selectionStart on an input[type=image] returns null
- selectionEnd on an input[type=image] returns null
- selectionDirection on an input[type=image] returns null
- assigning selectionStart on an input[type=image] throws InvalidStateError
- assigning selectionEnd on an input[type=image] throws InvalidStateError
- assigning selectionDirection on an input[type=image] throws InvalidStateError
- setRangeText on an input[type=image] throws InvalidStateError
- setSelectionRange on an input[type=image] throws InvalidStateError
- selectionStart on an input[type=reset] returns null
- selectionEnd on an input[type=reset] returns null
- selectionDirection on an input[type=reset] returns null
- assigning selectionStart on an input[type=reset] throws InvalidStateError
- assigning selectionEnd on an input[type=reset] throws InvalidStateError
- assigning selectionDirection on an input[type=reset] throws InvalidStateError
- setRangeText on an input[type=reset] throws InvalidStateError
- setSelectionRange on an input[type=reset] throws InvalidStateError
- selectionStart on an input[type=button] returns null
- selectionEnd on an input[type=button] returns null
- selectionDirection on an input[type=button] returns null
- assigning selectionStart on an input[type=button] throws InvalidStateError
- assigning selectionEnd on an input[type=button] throws InvalidStateError
- assigning selectionDirection on an input[type=button] throws InvalidStateError
- setRangeText on an input[type=button] throws InvalidStateError
- setSelectionRange on an input[type=button] throws InvalidStateError
- selectionStart on an input[type=text] returns a value
- selectionEnd on an input[type=text] returns a value
- selectionDirection on an input[type=text] returns a value
- assigning selectionDirection "none" on an input[type=text] should give the initial direction
- assigning selectionStart on an input[type=text] doesn't throw an exception
- assigning selectionEnd on an input[type=text] doesn't throw an exception
- assigning selectionDirection on an input[type=text] doesn't throw an exception
- setRangeText on an input[type=text] doesn't throw an exception
- setSelectionRange on an input[type=text] doesn't throw an exception
- selectionStart on an input[type=search] returns a value
- selectionEnd on an input[type=search] returns a value
- selectionDirection on an input[type=search] returns a value
- assigning selectionDirection "none" on an input[type=search] should give the initial direction
- assigning selectionStart on an input[type=search] doesn't throw an exception
- assigning selectionEnd on an input[type=search] doesn't throw an exception
- assigning selectionDirection on an input[type=search] doesn't throw an exception
- setRangeText on an input[type=search] doesn't throw an exception
- setSelectionRange on an input[type=search] doesn't throw an exception
- selectionStart on an input[type=tel] returns a value
- selectionEnd on an input[type=tel] returns a value
- selectionDirection on an input[type=tel] returns a value
- assigning selectionDirection "none" on an input[type=tel] should give the initial direction
- assigning selectionStart on an input[type=tel] doesn't throw an exception
- assigning selectionEnd on an input[type=tel] doesn't throw an exception
- assigning selectionDirection on an input[type=tel] doesn't throw an exception
- setRangeText on an input[type=tel] doesn't throw an exception
- setSelectionRange on an input[type=tel] doesn't throw an exception
- selectionStart on an input[type=url] returns a value
- selectionEnd on an input[type=url] returns a value
- selectionDirection on an input[type=url] returns a value
- assigning selectionDirection "none" on an input[type=url] should give the initial direction
- assigning selectionStart on an input[type=url] doesn't throw an exception
- assigning selectionEnd on an input[type=url] doesn't throw an exception
- assigning selectionDirection on an input[type=url] doesn't throw an exception
- setRangeText on an input[type=url] doesn't throw an exception
- setSelectionRange on an input[type=url] doesn't throw an exception
- selectionStart on an input[type=password] returns a value
- selectionEnd on an input[type=password] returns a value
- selectionDirection on an input[type=password] returns a value
- assigning selectionDirection "none" on an input[type=password] should give the initial direction
- assigning selectionStart on an input[type=password] doesn't throw an exception
- assigning selectionEnd on an input[type=password] doesn't throw an exception
- assigning selectionDirection on an input[type=password] doesn't throw an exception
- setRangeText on an input[type=password] doesn't throw an exception
- setSelectionRange on an input[type=password] doesn't throw an exception
- selectionStart on an input[type=aninvalidtype] returns a value
- selectionEnd on an input[type=aninvalidtype] returns a value
- selectionDirection on an input[type=aninvalidtype] returns a value
- assigning selectionDirection "none" on an input[type=aninvalidtype] should give the initial direction
- assigning selectionStart on an input[type=aninvalidtype] doesn't throw an exception
- assigning selectionEnd on an input[type=aninvalidtype] doesn't throw an exception
- assigning selectionDirection on an input[type=aninvalidtype] doesn't throw an exception
- setRangeText on an input[type=aninvalidtype] doesn't throw an exception
- setSelectionRange on an input[type=aninvalidtype] doesn't throw an exception
- selectionStart on an input[type=null] returns a value
- selectionEnd on an input[type=null] returns a value
- selectionDirection on an input[type=null] returns a value
- assigning selectionDirection "none" on an input[type=null] should give the initial direction
- assigning selectionStart on an input[type=null] doesn't throw an exception
- assigning selectionEnd on an input[type=null] doesn't throw an exception
- assigning selectionDirection on an input[type=null] doesn't throw an exception
- setRangeText on an input[type=null] doesn't throw an exception
- setSelectionRange on an input[type=null] doesn't throw an exception
/html/semantics/forms/textfieldselection/selection-not-application.html?week,month OK 79 / 79
79 passing subtests
- selectionStart on an input[type=week] returns null
- selectionEnd on an input[type=week] returns null
- selectionDirection on an input[type=week] returns null
- assigning selectionStart on an input[type=week] throws InvalidStateError
- assigning selectionEnd on an input[type=week] throws InvalidStateError
- assigning selectionDirection on an input[type=week] throws InvalidStateError
- setRangeText on an input[type=week] throws InvalidStateError
- setSelectionRange on an input[type=week] throws InvalidStateError
- selectionStart on an input[type=month] returns null
- selectionEnd on an input[type=month] returns null
- selectionDirection on an input[type=month] returns null
- assigning selectionStart on an input[type=month] throws InvalidStateError
- assigning selectionEnd on an input[type=month] throws InvalidStateError
- assigning selectionDirection on an input[type=month] throws InvalidStateError
- setRangeText on an input[type=month] throws InvalidStateError
- setSelectionRange on an input[type=month] throws InvalidStateError
- selectionStart on an input[type=text] returns a value
- selectionEnd on an input[type=text] returns a value
- selectionDirection on an input[type=text] returns a value
- assigning selectionDirection "none" on an input[type=text] should give the initial direction
- assigning selectionStart on an input[type=text] doesn't throw an exception
- assigning selectionEnd on an input[type=text] doesn't throw an exception
- assigning selectionDirection on an input[type=text] doesn't throw an exception
- setRangeText on an input[type=text] doesn't throw an exception
- setSelectionRange on an input[type=text] doesn't throw an exception
- selectionStart on an input[type=search] returns a value
- selectionEnd on an input[type=search] returns a value
- selectionDirection on an input[type=search] returns a value
- assigning selectionDirection "none" on an input[type=search] should give the initial direction
- assigning selectionStart on an input[type=search] doesn't throw an exception
- assigning selectionEnd on an input[type=search] doesn't throw an exception
- assigning selectionDirection on an input[type=search] doesn't throw an exception
- setRangeText on an input[type=search] doesn't throw an exception
- setSelectionRange on an input[type=search] doesn't throw an exception
- selectionStart on an input[type=tel] returns a value
- selectionEnd on an input[type=tel] returns a value
- selectionDirection on an input[type=tel] returns a value
- assigning selectionDirection "none" on an input[type=tel] should give the initial direction
- assigning selectionStart on an input[type=tel] doesn't throw an exception
- assigning selectionEnd on an input[type=tel] doesn't throw an exception
- assigning selectionDirection on an input[type=tel] doesn't throw an exception
- setRangeText on an input[type=tel] doesn't throw an exception
- setSelectionRange on an input[type=tel] doesn't throw an exception
- selectionStart on an input[type=url] returns a value
- selectionEnd on an input[type=url] returns a value
- selectionDirection on an input[type=url] returns a value
- assigning selectionDirection "none" on an input[type=url] should give the initial direction
- assigning selectionStart on an input[type=url] doesn't throw an exception
- assigning selectionEnd on an input[type=url] doesn't throw an exception
- assigning selectionDirection on an input[type=url] doesn't throw an exception
- setRangeText on an input[type=url] doesn't throw an exception
- setSelectionRange on an input[type=url] doesn't throw an exception
- selectionStart on an input[type=password] returns a value
- selectionEnd on an input[type=password] returns a value
- selectionDirection on an input[type=password] returns a value
- assigning selectionDirection "none" on an input[type=password] should give the initial direction
- assigning selectionStart on an input[type=password] doesn't throw an exception
- assigning selectionEnd on an input[type=password] doesn't throw an exception
- assigning selectionDirection on an input[type=password] doesn't throw an exception
- setRangeText on an input[type=password] doesn't throw an exception
- setSelectionRange on an input[type=password] doesn't throw an exception
- selectionStart on an input[type=aninvalidtype] returns a value
- selectionEnd on an input[type=aninvalidtype] returns a value
- selectionDirection on an input[type=aninvalidtype] returns a value
- assigning selectionDirection "none" on an input[type=aninvalidtype] should give the initial direction
- assigning selectionStart on an input[type=aninvalidtype] doesn't throw an exception
- assigning selectionEnd on an input[type=aninvalidtype] doesn't throw an exception
- assigning selectionDirection on an input[type=aninvalidtype] doesn't throw an exception
- setRangeText on an input[type=aninvalidtype] doesn't throw an exception
- setSelectionRange on an input[type=aninvalidtype] doesn't throw an exception
- selectionStart on an input[type=null] returns a value
- selectionEnd on an input[type=null] returns a value
- selectionDirection on an input[type=null] returns a value
- assigning selectionDirection "none" on an input[type=null] should give the initial direction
- assigning selectionStart on an input[type=null] doesn't throw an exception
- assigning selectionEnd on an input[type=null] doesn't throw an exception
- assigning selectionDirection on an input[type=null] doesn't throw an exception
- setRangeText on an input[type=null] doesn't throw an exception
- setSelectionRange on an input[type=null] doesn't throw an exception
selection-preserved-after-text-password-type-change.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Changing an input from text to password during a click preserves a caret at offset 4
- Changing an input from text to password during a click preserves a forward selection from offset 2 to offset 7
- Changing an input from text to password during a click preserves a backward selection from offset 2 to offset 7
- Changing an input from password to text during a click preserves a caret at offset 4
- Changing an input from password to text during a click preserves a forward selection from offset 2 to offset 7
- Changing an input from password to text during a click preserves a backward selection from offset 2 to offset 7
selection-set-value-after-focus.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Script value change during a mouse click keeps the caret at the end after focus
selection-start-end-extra.html 11 / 11 passingChrome 11 / 110 failedClean
11 passing subtests
- Setting defaultValue in a textarea should NOT move the cursor to the end
- Setting defaultValue in a textarea with a value should NOT make any difference
- Setting textContent in a textarea should NOT move selection{Start,End} to the end
- Adding children to a textarea should NOT move selection{Start,End} to the end
- Removing children from a textarea should NOT update selection{Start,End}
- Setting the same value (with different newlines) in a textarea should NOT update selection{Start,End}
- Removing child nodes in non-dirty textarea should make selection{Start,End} 0
- Setting value to a shorter string than defaultValue should correct the cursor position
- Shortening value by turning the input type into 'url' should correct selection{Start,End}
- Shortening value by turning the input type into 'color' and back to 'text' should correct selection{Start,End}
- Resetting a value to a shorter string than defaultValue should correct the cursor position
selection-start-end.html 45 / 45 passingChrome 45 / 450 failedClean
45 passing subtests
- Sanity check for testValue length; if this fails, variou absolute offsets in the test below need to be adjusted to be less than testValue.length
- Initial .value set on input-appended should set selectionStart to end of value
- Initial .value set on input-not-appended should set selectionStart to end of value
- Initial .value set on input-appended-prefocused should set selectionStart to end of value
- Initial .value set on input-not-appended-prefocused should set selectionStart to end of value
- Initial .value set on textarea-appended should set selectionStart to end of value
- Initial .value set on textarea-not-appended should set selectionStart to end of value
- Initial .value set on textarea-appended-prefocused should set selectionStart to end of value
- Initial .value set on textarea-not-appended-prefocused should set selectionStart to end of value
- Initial .value set on input-appended should set selectionEnd to end of value
- Initial .value set on input-not-appended should set selectionEnd to end of value
- Initial .value set on input-appended-prefocused should set selectionEnd to end of value
- Initial .value set on input-not-appended-prefocused should set selectionEnd to end of value
- Initial .value set on textarea-appended should set selectionEnd to end of value
- Initial .value set on textarea-not-appended should set selectionEnd to end of value
- Initial .value set on textarea-appended-prefocused should set selectionEnd to end of value
- Initial .value set on textarea-not-appended-prefocused should set selectionEnd to end of value
- onselect should fire when selectionStart is changed
- onselect should fire when selectionStart is changed on input-appended
- onselect should fire when selectionStart is changed on input-not-appended
- onselect should fire when selectionStart is changed on input-appended-prefocused
- onselect should fire when selectionStart is changed on input-not-appended-prefocused
- onselect should fire when selectionStart is changed on textarea-appended
- onselect should fire when selectionStart is changed on textarea-not-appended
- onselect should fire when selectionStart is changed on textarea-appended-prefocused
- onselect should fire when selectionStart is changed on textarea-not-appended-prefocused
- onselect should fire when selectionStart is changed on
- onselect should fire when selectionEnd is changed
- onselect should fire when selectionEnd is changed on input-appended
- onselect should fire when selectionEnd is changed on input-not-appended
- onselect should fire when selectionEnd is changed on input-appended-prefocused
- onselect should fire when selectionEnd is changed on input-not-appended-prefocused
- onselect should fire when selectionEnd is changed on textarea-appended
- onselect should fire when selectionEnd is changed on textarea-not-appended
- onselect should fire when selectionEnd is changed on textarea-appended-prefocused
- onselect should fire when selectionEnd is changed on textarea-not-appended-prefocused
- onselect should fire when selectionEnd is changed on
- Setting selectionStart to a value larger than selectionEnd should increase selectionEnd
- Setting selectionEnd to a value smaller than selectionStart should decrease selectionStart
- selectionStart edge-case values
- selectionEnd edge-case values
- selectionStart should be clamped by the current value length
- selectionEnd should be clamped by the current value length
- setSelectionRange should be clamped by the current value length
- selectionStart and selectionEnd should remain the same when selectionDirection is changed
selection-value-interactions.html 14 / 14 passingChrome 14 / 140 failedClean
14 passing subtests
- value dirty flag behavior after setRangeText on textarea not in body
- value dirty flag behavior after setRangeText on input not in body
- value dirty flag behavior after setRangeText on textarea in body
- value dirty flag behavior after setRangeText on input in body
- value dirty flag behavior after setRangeText on textarea in body with parsed default value
- value dirty flag behavior after setRangeText on input in body with parsed default value
- value dirty flag behavior after setRangeText on focused textarea
- value dirty flag behavior after setRangeText on focused input
- value dirty flag behavior after setRangeText on focused then blurred textarea
- value dirty flag behavior after setRangeText on focused then blurred input
- selection is collapsed to the end after changing values on input
- selection is not collapsed to the end when value is set to its existing value on input
- selection is collapsed to the end after changing values on textarea
- selection is not collapsed to the end when value is set to its existing value on textarea
selection.html 17 / 18 passingChrome 18 / 181 failedWith failures
- ¶
FAILtest scrollLeft preservation for input
assert_equals: expected 33 but got 0
17 passing subtests
- test if selection text is correct for input
- test if selection text is correct for textarea
- test if non-ascii selection text is correct for input
- test if non-ascii selection text is correct for textarea
- test SelectionStart offset for input that is appended
- test SelectionStart offset for input that is not appended
- test SelectionStart offset for textarea that is appended
- test SelectionStart offset for textarea that is not appended
- test SelectionEnd offset for input that is appended
- test SelectionEnd offset for input that is not appended
- test SelectionEnd offset for textarea that is appended
- test SelectionEnd offset for textarea that is not appended
- test SelectionDirection for input
- test SelectionDirection for textarea
- test scrollLeft for input
- test container.scrollTop for input
- test container.scrollTop for textarea
setSelectionRange.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- setSelectionRange on line boundaries
textarea-setRangeText-utf16-code-unit-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/textfieldselection/textarea-setRangeText-utf16-code-unit-crash.html PASS none reported
No subtests were reported.
textfieldselection-setRangeText.html 88 / 88 passingChrome 88 / 880 failedClean
88 passing subtests
- text setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
- text selectionMode missing
- text selectionMode 'select'
- text selectionMode 'start'
- text selectionMode 'end'
- text selectionMode 'preserve'
- text setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
- text setRangeText without argument throws a type error
- text setRangeText fires a select event
- text setRangeText fires a select event when fully selected
- text setRangeText fires a select event after select()
- search setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
- search selectionMode missing
- search selectionMode 'select'
- search selectionMode 'start'
- search selectionMode 'end'
- search selectionMode 'preserve'
- search setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
- search setRangeText without argument throws a type error
- search setRangeText fires a select event
- search setRangeText fires a select event when fully selected
- search setRangeText fires a select event after select()
- tel setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
- tel selectionMode missing
- tel selectionMode 'select'
- tel selectionMode 'start'
- tel selectionMode 'end'
- tel selectionMode 'preserve'
- tel setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
- tel setRangeText without argument throws a type error
- tel setRangeText fires a select event
- tel setRangeText fires a select event when fully selected
- tel setRangeText fires a select event after select()
- url setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
- url selectionMode missing
- url selectionMode 'select'
- url selectionMode 'start'
- url selectionMode 'end'
- url selectionMode 'preserve'
- url setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
- url setRangeText without argument throws a type error
- url setRangeText fires a select event
- url setRangeText fires a select event when fully selected
- url setRangeText fires a select event after select()
- password setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
- password selectionMode missing
- password selectionMode 'select'
- password selectionMode 'start'
- password selectionMode 'end'
- password selectionMode 'preserve'
- password setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
- password setRangeText without argument throws a type error
- password setRangeText fires a select event
- password setRangeText fires a select event when fully selected
- password setRangeText fires a select event after select()
- display_none setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
- display_none selectionMode missing
- display_none selectionMode 'select'
- display_none selectionMode 'start'
- display_none selectionMode 'end'
- display_none selectionMode 'preserve'
- display_none setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
- display_none setRangeText without argument throws a type error
- display_none setRangeText fires a select event
- display_none setRangeText fires a select event when fully selected
- display_none setRangeText fires a select event after select()
- textarea setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
- textarea selectionMode missing
- textarea selectionMode 'select'
- textarea selectionMode 'start'
- textarea selectionMode 'end'
- textarea selectionMode 'preserve'
- textarea setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
- textarea setRangeText without argument throws a type error
- textarea setRangeText fires a select event
- textarea setRangeText fires a select event when fully selected
- textarea setRangeText fires a select event after select()
- input_not_in_doc setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
- input_not_in_doc selectionMode missing
- input_not_in_doc selectionMode 'select'
- input_not_in_doc selectionMode 'start'
- input_not_in_doc selectionMode 'end'
- input_not_in_doc selectionMode 'preserve'
- input_not_in_doc setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
- input_not_in_doc setRangeText without argument throws a type error
- input_not_in_doc setRangeText fires a select event
- input_not_in_doc setRangeText fires a select event when fully selected
- input_not_in_doc setRangeText fires a select event after select()
textfieldselection-setSelectionRange.html 49 / 49 passingChrome 49 / 490 failedClean
49 passing subtests
- test of input.setSelectionRange
- input typeof(input.setSelectionRange)'
- input setSelectionRange return void
- input setSelectionRange(0,1)
- input setSelectionRange(0,input.value.length+1)
- input setSelectionRange(input.value.length+1,input.value.length+1)
- input setSelectionRange(input.value.length+1,1)
- input setSelectionRange(2,2)
- input setSelectionRange(2,1)
- input direction of setSelectionRange(0,1,"backward")
- input direction of setSelectionRange(0,1,"forward")
- input direction of setSelectionRange(0,1,"none")
- input direction of setSelectionRange(0,1,"hoge")
- input direction of setSelectionRange(0,1,"BACKWARD")
- input direction of setSelectionRange(0,1)
- input setSelectionRange(1,-1)
- input setSelectionRange(-1,1)
- input setSelectionRange("string",1)
- input setSelectionRange(true,1)
- input setSelectionRange([],1)
- input setSelectionRange({},1)
- input setSelectionRange(NaN,1)
- input setSelectionRange(null,1)
- input setSelectionRange(undefined,1)
- input setSelectionRange(Math.pow(2,32) - 2, Math.pow(2,32) - 1)
- input setSelectionRange(Math.pow(2,31), Math.pow(2,32) - 1)
- input setSelectionRange fires a select event
- test of textarea.setSelectionRange
- textarea typeof(input.setSelectionRange)'
- textarea setSelectionRange return void
- textarea setSelectionRange(0,1)
- textarea setSelectionRange(0,textarea.value.length+1)
- textarea setSelectionRange(2,2)
- textarea setSelectionRange(2,1)
- textarea direction of setSelectionRange(0,1,"backward")
- textarea direction of setSelectionRange(0,1,"forward")
- textarea direction of setSelectionRange(0,1,"none")
- textarea direction of setSelectionRange(0,1,"hoge")
- textarea direction of setSelectionRange(0,1,"BACKWARD")
- textarea direction of setSelectionRange(0,1)
- textarea setSelectionRange("string",1)
- textarea setSelectionRange(true,1)
- textarea setSelectionRange([],1)
- textarea setSelectionRange({},1)
- textarea setSelectionRange(NaN,1)
- textarea setSelectionRange(null,1)
- textarea setSelectionRange(undefined,1)
- textarea setSelectionRange(Math.pow(2,32) - 2, Math.pow(2,32) - 1)
- textarea setSelectionRange(Math.pow(2,31), Math.pow(2,32) - 1)