Implement value sanitization on HTMLInputElement

This commit is contained in:
Keith Yeung 2017-08-27 12:25:19 -07:00
parent 9d60333af9
commit 8203605c04
13 changed files with 187 additions and 285 deletions

View file

@ -1,5 +1,6 @@
[selection-start-end.html]
type: testharness
expected: TIMEOUT
[onselect should fire when selectionStart is changed]
expected: FAIL
@ -15,3 +16,27 @@
[selectionStart edge-case values]
expected: FAIL
[onselect should fire when selectionStart is changed on input-appended]
expected: NOTRUN
[onselect should fire when selectionStart is changed on input-not-appended]
expected: NOTRUN
[onselect should fire when selectionStart is changed on input-appended-prefocused]
expected: NOTRUN
[onselect should fire when selectionStart is changed on input-not-appended-prefocused]
expected: NOTRUN
[onselect should fire when selectionEnd is changed on input-appended]
expected: NOTRUN
[onselect should fire when selectionEnd is changed on input-not-appended]
expected: NOTRUN
[onselect should fire when selectionEnd is changed on input-appended-prefocused]
expected: NOTRUN
[onselect should fire when selectionEnd is changed on input-not-appended-prefocused]
expected: NOTRUN

View file

@ -30,9 +30,6 @@
[value dirty flag behavior after setRangeText on focused then blurred input]
expected: FAIL
[selection is always collapsed to the end after setting values on input]
expected: FAIL
[selection is always collapsed to the end after setting values on textarea]
expected: FAIL

View file

@ -33,9 +33,6 @@
[test SelectionStart offset for input that is appended]
expected: FAIL
[test SelectionStart offset for input that is not appended]
expected: FAIL
[test SelectionStart offset for textarea that is appended]
expected: FAIL
@ -45,9 +42,6 @@
[test SelectionEnd offset for input that is appended]
expected: FAIL
[test SelectionEnd offset for input that is not appended]
expected: FAIL
[test SelectionEnd offset for textarea that is appended]
expected: FAIL