mirror of
https://github.com/servo/servo.git
synced 2025-09-03 03:28:20 +01:00
Refactor selection-start-end test
Move assertions about the initial value of selection{Start,End} to their own tests. This ensures that when one of these assertions fails, it doesn't prevent other tests from being defined. Thus we have a clearer view of which tests are passing or failing, since all tests get defined regardless of which assertions fail.
This commit is contained in:
parent
e61a4d04e9
commit
f290cacccd
3 changed files with 58 additions and 17 deletions
|
@ -542575,7 +542575,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"html/semantics/forms/textfieldselection/selection-start-end.html": [
|
||||
"e38a79075e27780327f49e7ae9cadd2558165eac",
|
||||
"3fd1c942f7ac3ed3097bbd1ec89db15fb0805476",
|
||||
"testharness"
|
||||
],
|
||||
"html/semantics/forms/textfieldselection/selection-value-interactions.html": [
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
[selection-start-end.html]
|
||||
type: testharness
|
||||
[onselect should fire when selectionStart is changed]
|
||||
expected: FAIL
|
||||
|
||||
[onselect should fire when selectionEnd is changed]
|
||||
expected: FAIL
|
||||
|
||||
expected: TIMEOUT
|
||||
[Setting selectionStart to a value larger than selectionEnd should increase selectionEnd]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -15,3 +10,51 @@
|
|||
[selectionStart edge-case values]
|
||||
expected: FAIL
|
||||
|
||||
[Initial .value set on textarea-appended should set selectionStart to end of value]
|
||||
expected: FAIL
|
||||
|
||||
[Initial .value set on textarea-not-appended should set selectionStart to end of value]
|
||||
expected: FAIL
|
||||
|
||||
[Initial .value set on textarea-appended-prefocused should set selectionStart to end of value]
|
||||
expected: FAIL
|
||||
|
||||
[Initial .value set on textarea-not-appended-prefocused should set selectionStart to end of value]
|
||||
expected: FAIL
|
||||
|
||||
[onselect should fire when selectionStart is changed on textarea-appended]
|
||||
expected: NOTRUN
|
||||
|
||||
[onselect should fire when selectionStart is changed on textarea-not-appended]
|
||||
expected: NOTRUN
|
||||
|
||||
[onselect should fire when selectionStart is changed on textarea-appended-prefocused]
|
||||
expected: NOTRUN
|
||||
|
||||
[onselect should fire when selectionStart is changed on textarea-not-appended-prefocused]
|
||||
expected: NOTRUN
|
||||
|
||||
[onselect should fire when selectionEnd is changed on textarea-appended]
|
||||
expected: NOTRUN
|
||||
|
||||
[onselect should fire when selectionEnd is changed on textarea-not-appended]
|
||||
expected: NOTRUN
|
||||
|
||||
[onselect should fire when selectionEnd is changed on textarea-appended-prefocused]
|
||||
expected: NOTRUN
|
||||
|
||||
[onselect should fire when selectionEnd is changed on textarea-not-appended-prefocused]
|
||||
expected: NOTRUN
|
||||
|
||||
[Initial .value set on textarea-appended should set selectionEnd to end of value]
|
||||
expected: FAIL
|
||||
|
||||
[Initial .value set on textarea-not-appended should set selectionEnd to end of value]
|
||||
expected: FAIL
|
||||
|
||||
[Initial .value set on textarea-appended-prefocused should set selectionEnd to end of value]
|
||||
expected: FAIL
|
||||
|
||||
[Initial .value set on textarea-not-appended-prefocused should set selectionEnd to end of value]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue