mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement setRangeText API
Spec: https://html.spec.whatwg.org/multipage/#dom-textarea/input-setrangetext In order to do this, we need to define the SelectionMode enum in WebIDL: https://html.spec.whatwg.org/multipage/#selectionmode Since the enum is used by HTMLTextAreaElement and HTMLInputElement, it doesn't seem to make sense to define it in the WebIDL file for one or other of those. However, we also can't create a stand-alone SelectionMode.webidl file, because the current binding-generation code won't generate a "pub mod SelectionMode;" line in mod.rs unless SelectionMode.webidl contains either an interface or a namespace. (This logic happens in components/script/dom/bindings/codegen/Configuration.py:35, in the Configuration.__init__ method.) I thought about changing the binding-generation code, but that seems difficult. So I settled for placing the enum inside HTMLFormElement.webidl, as that seems like a "neutral" location. We could equally settle for putting it under HTMLTextAreaElement or HTMLInputElement, it probably doesn't really matter. The setRangeText algorithm set the "dirty value flag" on the input/textarea. I made some clean-ups related to this: 1. HTMLTextAreaElement called its dirty value flag "value_changed"; I changed this to "value_dirty" to be consistent with the spec. 2. HTMLInputElement had a "value_changed" field and also a "value_dirty" field, which were each used in slightly different places (and sometimes in both places). I consolidated these into a single "value_dirty" field, which was necessary in order to make some of the tests pass. TextControl::set_dom_range_text replaces part of the existing textinput content with the replacement string (steps 9-10 of the algorithm). My implementation changes the textinput's selection and then replaces the selection. A downside of this approach is that we lose the original selection state from before the call to setRangeText. Therefore, we have to save the state into the original_selection_state variable so that we can later pass it into TextControl::set_selection_range. This allows TextControl::set_selection_range to correctly decide whether or not to fire the select event. An alternative approach would be to implement a method on TextInput which allows a subtring of the content to be mutated, without touching the current selection state. However, any such method would potentially put the TextInput into an inconsistent state where the edit_point and/or selection_origin is a TextPoint which doesn't exist in the content. It would be up to the caller to subsequently make sure that the TextInput gets put back into a valid state (which would actually happen, when TextControl::set_selection_range is called). I think TextInput's public API should not make it possible to put it into an invalid state, as that would be a potential source of bugs. That's why I didn't take this approach. (TextInput's public API does currently make it possible to create an invalid state, but I'd like to submit a follow-up patch to lock this down.)
This commit is contained in:
parent
e34f7c58c9
commit
ce7bae8834
13 changed files with 198 additions and 740 deletions
|
@ -3090,9 +3090,6 @@
|
|||
[HTMLInputElement interface: operation setCustomValidity(DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: operation setRangeText(DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: operation setRangeText(DOMString,unsigned long,unsigned long,SelectionMode)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3171,9 +3168,6 @@
|
|||
[HTMLInputElement interface: document.createElement("input") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on document.createElement("input") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: document.createElement("input") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3339,9 +3333,6 @@
|
|||
[HTMLTextAreaElement interface: operation setCustomValidity(DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTextAreaElement interface: operation setRangeText(DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTextAreaElement interface: operation setRangeText(DOMString,unsigned long,unsigned long,SelectionMode)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3393,9 +3384,6 @@
|
|||
[HTMLTextAreaElement interface: document.createElement("textarea") must inherit property "setRangeText" with the proper type (30)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTextAreaElement interface: calling setRangeText(DOMString) on document.createElement("textarea") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTextAreaElement interface: document.createElement("textarea") must inherit property "setRangeText" with the proper type (31)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -6291,9 +6279,6 @@
|
|||
[HTMLInputElement interface: createInput("text") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("text") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("text") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -6375,9 +6360,6 @@
|
|||
[HTMLInputElement interface: createInput("hidden") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("hidden") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("hidden") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -6459,9 +6441,6 @@
|
|||
[HTMLInputElement interface: createInput("search") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("search") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("search") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -6543,9 +6522,6 @@
|
|||
[HTMLInputElement interface: createInput("tel") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("tel") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("tel") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -6627,9 +6603,6 @@
|
|||
[HTMLInputElement interface: createInput("url") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("url") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("url") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -6711,9 +6684,6 @@
|
|||
[HTMLInputElement interface: createInput("email") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("email") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("email") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -6795,9 +6765,6 @@
|
|||
[HTMLInputElement interface: createInput("password") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("password") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("password") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -6879,9 +6846,6 @@
|
|||
[HTMLInputElement interface: createInput("date") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("date") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("date") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -6963,9 +6927,6 @@
|
|||
[HTMLInputElement interface: createInput("month") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("month") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("month") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7047,9 +7008,6 @@
|
|||
[HTMLInputElement interface: createInput("week") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("week") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("week") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7131,9 +7089,6 @@
|
|||
[HTMLInputElement interface: createInput("time") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("time") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("time") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7215,9 +7170,6 @@
|
|||
[HTMLInputElement interface: createInput("datetime-local") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("datetime-local") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("datetime-local") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7299,9 +7251,6 @@
|
|||
[HTMLInputElement interface: createInput("number") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("number") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("number") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7383,9 +7332,6 @@
|
|||
[HTMLInputElement interface: createInput("range") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("range") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("range") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7467,9 +7413,6 @@
|
|||
[HTMLInputElement interface: createInput("color") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("color") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("color") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7551,9 +7494,6 @@
|
|||
[HTMLInputElement interface: createInput("checkbox") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("checkbox") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("checkbox") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7635,9 +7575,6 @@
|
|||
[HTMLInputElement interface: createInput("radio") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("radio") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("radio") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7722,9 +7659,6 @@
|
|||
[HTMLInputElement interface: createInput("file") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("file") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("file") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7806,9 +7740,6 @@
|
|||
[HTMLInputElement interface: createInput("submit") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("submit") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("submit") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7890,9 +7821,6 @@
|
|||
[HTMLInputElement interface: createInput("image") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("image") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("image") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7974,9 +7902,6 @@
|
|||
[HTMLInputElement interface: createInput("reset") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("reset") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("reset") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8058,9 +7983,6 @@
|
|||
[HTMLInputElement interface: createInput("button") must inherit property "setRangeText" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString) on createInput("button") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("button") must inherit property "setRangeText" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -11730,9 +11652,6 @@
|
|||
[HTMLInputElement interface: attribute files]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: operation setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: document.createElement("input") must inherit property "autocomplete" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -11781,15 +11700,6 @@
|
|||
[HTMLInputElement interface: document.createElement("input") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: document.createElement("input") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: document.createElement("input") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on document.createElement("input") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: document.createElement("input") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -11844,15 +11754,6 @@
|
|||
[HTMLInputElement interface: createInput("text") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("text") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("text") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("text") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("text") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -11907,15 +11808,6 @@
|
|||
[HTMLInputElement interface: createInput("hidden") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("hidden") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("hidden") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("hidden") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("hidden") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -11970,15 +11862,6 @@
|
|||
[HTMLInputElement interface: createInput("search") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("search") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("search") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("search") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("search") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12033,15 +11916,6 @@
|
|||
[HTMLInputElement interface: createInput("tel") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("tel") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("tel") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("tel") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("tel") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12096,15 +11970,6 @@
|
|||
[HTMLInputElement interface: createInput("url") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("url") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("url") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("url") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("url") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12159,15 +12024,6 @@
|
|||
[HTMLInputElement interface: createInput("email") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("email") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("email") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("email") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("email") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12222,15 +12078,6 @@
|
|||
[HTMLInputElement interface: createInput("password") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("password") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("password") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("password") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("password") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12285,15 +12132,6 @@
|
|||
[HTMLInputElement interface: createInput("date") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("date") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("date") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("date") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("date") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12348,15 +12186,6 @@
|
|||
[HTMLInputElement interface: createInput("month") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("month") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("month") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("month") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("month") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12411,15 +12240,6 @@
|
|||
[HTMLInputElement interface: createInput("week") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("week") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("week") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("week") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("week") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12474,15 +12294,6 @@
|
|||
[HTMLInputElement interface: createInput("time") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("time") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("time") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("time") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("time") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12537,15 +12348,6 @@
|
|||
[HTMLInputElement interface: createInput("datetime-local") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("datetime-local") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("datetime-local") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("datetime-local") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("datetime-local") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12600,15 +12402,6 @@
|
|||
[HTMLInputElement interface: createInput("number") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("number") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("number") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("number") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("number") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12663,15 +12456,6 @@
|
|||
[HTMLInputElement interface: createInput("range") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("range") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("range") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("range") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("range") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12726,15 +12510,6 @@
|
|||
[HTMLInputElement interface: createInput("color") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("color") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("color") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("color") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("color") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12789,15 +12564,6 @@
|
|||
[HTMLInputElement interface: createInput("checkbox") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("checkbox") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("checkbox") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("checkbox") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("checkbox") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12852,15 +12618,6 @@
|
|||
[HTMLInputElement interface: createInput("radio") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("radio") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("radio") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("radio") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("radio") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12918,15 +12675,6 @@
|
|||
[HTMLInputElement interface: createInput("file") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("file") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("file") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("file") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("file") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12981,15 +12729,6 @@
|
|||
[HTMLInputElement interface: createInput("submit") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("submit") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("submit") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("submit") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("submit") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -13044,15 +12783,6 @@
|
|||
[HTMLInputElement interface: createInput("image") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("image") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("image") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("image") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("image") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -13107,15 +12837,6 @@
|
|||
[HTMLInputElement interface: createInput("reset") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("reset") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("reset") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("reset") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("reset") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -13170,15 +12891,6 @@
|
|||
[HTMLInputElement interface: createInput("button") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("button") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("button") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on createInput("button") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("button") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -13260,9 +12972,6 @@
|
|||
[HTMLOptionElement interface: new Option() must inherit property "index" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTextAreaElement interface: operation setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTextAreaElement interface: document.createElement("textarea") must inherit property "autocomplete" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -13302,15 +13011,6 @@
|
|||
[HTMLTextAreaElement interface: document.createElement("textarea") must inherit property "setCustomValidity(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTextAreaElement interface: document.createElement("textarea") must inherit property "setRangeText(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTextAreaElement interface: document.createElement("textarea") must inherit property "setRangeText(DOMString, unsigned long, unsigned long, SelectionMode)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTextAreaElement interface: calling setRangeText(DOMString, unsigned long, unsigned long, SelectionMode) on document.createElement("textarea") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLOutputElement interface: document.createElement("output") must inherit property "htmlFor" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
[select-event.html]
|
||||
type: testharness
|
||||
[textarea: setRangeText()]
|
||||
expected: FAIL
|
||||
|
||||
[textarea: setRangeText() a second time (must not fire select)]
|
||||
expected: FAIL
|
||||
|
||||
[input type text: setRangeText()]
|
||||
expected: FAIL
|
||||
|
||||
[input type text: setRangeText() a second time (must not fire select)]
|
||||
expected: FAIL
|
||||
|
||||
[input type search: setRangeText()]
|
||||
expected: FAIL
|
||||
|
||||
[input type search: setRangeText() a second time (must not fire select)]
|
||||
expected: FAIL
|
||||
|
||||
[input type tel: setRangeText()]
|
||||
expected: FAIL
|
||||
|
||||
[input type tel: setRangeText() a second time (must not fire select)]
|
||||
expected: FAIL
|
||||
|
||||
[input type url: setRangeText()]
|
||||
expected: FAIL
|
||||
|
||||
[input type url: setRangeText() a second time (must not fire select)]
|
||||
expected: FAIL
|
||||
|
||||
[input type password: setRangeText()]
|
||||
expected: FAIL
|
||||
|
||||
[input type password: setRangeText() a second time (must not fire select)]
|
||||
expected: FAIL
|
||||
|
|
@ -1,74 +0,0 @@
|
|||
[selection-not-application.html]
|
||||
type: testharness
|
||||
[setRangeText on an input[type=hidden\] throws InvalidStateError]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=email\] throws InvalidStateError]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=datetime-local\] throws InvalidStateError]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=date\] throws InvalidStateError]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=month\] throws InvalidStateError]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=week\] throws InvalidStateError]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=time\] throws InvalidStateError]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=number\] throws InvalidStateError]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=range\] throws InvalidStateError]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=color\] throws InvalidStateError]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=checkbox\] throws InvalidStateError]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=radio\] throws InvalidStateError]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=file\] throws InvalidStateError]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=submit\] throws InvalidStateError]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=image\] throws InvalidStateError]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=reset\] throws InvalidStateError]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=button\] throws InvalidStateError]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=text\] doesn't throw an exception]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=search\] doesn't throw an exception]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=tel\] doesn't throw an exception]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=url\] doesn't throw an exception]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=password\] doesn't throw an exception]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=null\] doesn't throw an exception]
|
||||
expected: FAIL
|
||||
|
||||
[setRangeText on an input[type=aninvalidtype\] doesn't throw an exception]
|
||||
expected: FAIL
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
[selection-value-interactions.html]
|
||||
type: testharness
|
||||
[value dirty flag behavior after setRangeText on textarea not in body]
|
||||
expected: FAIL
|
||||
|
||||
[value dirty flag behavior after setRangeText on input not in body]
|
||||
expected: FAIL
|
||||
|
||||
[value dirty flag behavior after setRangeText on textarea in body]
|
||||
expected: FAIL
|
||||
|
||||
[value dirty flag behavior after setRangeText on input in body]
|
||||
expected: FAIL
|
||||
|
||||
[value dirty flag behavior after setRangeText on textarea in body with parsed default value]
|
||||
expected: FAIL
|
||||
|
||||
[value dirty flag behavior after setRangeText on input in body with parsed default value]
|
||||
expected: FAIL
|
||||
|
||||
[value dirty flag behavior after setRangeText on focused textarea]
|
||||
expected: FAIL
|
||||
|
||||
[value dirty flag behavior after setRangeText on focused input]
|
||||
expected: FAIL
|
||||
|
||||
[value dirty flag behavior after setRangeText on focused then blurred textarea]
|
||||
expected: FAIL
|
||||
|
||||
[value dirty flag behavior after setRangeText on focused then blurred input]
|
||||
expected: FAIL
|
||||
|
||||
[selection is always collapsed to the end after setting values on textarea]
|
||||
expected: FAIL
|
||||
|
|
@ -1,194 +0,0 @@
|
|||
[textfieldselection-setRangeText.html]
|
||||
type: testharness
|
||||
[text setRangeText fires a select event]
|
||||
expected: FAIL
|
||||
|
||||
[text setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments]
|
||||
expected: FAIL
|
||||
|
||||
[text selectionMode missing]
|
||||
expected: FAIL
|
||||
|
||||
[text selectionMode 'select']
|
||||
expected: FAIL
|
||||
|
||||
[text selectionMode 'start']
|
||||
expected: FAIL
|
||||
|
||||
[text selectionMode 'end']
|
||||
expected: FAIL
|
||||
|
||||
[text selectionMode 'preserve']
|
||||
expected: FAIL
|
||||
|
||||
[text setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception]
|
||||
expected: FAIL
|
||||
|
||||
[search setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments]
|
||||
expected: FAIL
|
||||
|
||||
[search selectionMode missing]
|
||||
expected: FAIL
|
||||
|
||||
[search selectionMode 'select']
|
||||
expected: FAIL
|
||||
|
||||
[search selectionMode 'start']
|
||||
expected: FAIL
|
||||
|
||||
[search selectionMode 'end']
|
||||
expected: FAIL
|
||||
|
||||
[search selectionMode 'preserve']
|
||||
expected: FAIL
|
||||
|
||||
[search setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception]
|
||||
expected: FAIL
|
||||
|
||||
[search setRangeText fires a select event]
|
||||
expected: FAIL
|
||||
|
||||
[tel setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments]
|
||||
expected: FAIL
|
||||
|
||||
[tel selectionMode missing]
|
||||
expected: FAIL
|
||||
|
||||
[tel selectionMode 'select']
|
||||
expected: FAIL
|
||||
|
||||
[tel selectionMode 'start']
|
||||
expected: FAIL
|
||||
|
||||
[tel selectionMode 'end']
|
||||
expected: FAIL
|
||||
|
||||
[tel selectionMode 'preserve']
|
||||
expected: FAIL
|
||||
|
||||
[tel setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception]
|
||||
expected: FAIL
|
||||
|
||||
[tel setRangeText fires a select event]
|
||||
expected: FAIL
|
||||
|
||||
[url setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments]
|
||||
expected: FAIL
|
||||
|
||||
[url selectionMode missing]
|
||||
expected: FAIL
|
||||
|
||||
[url selectionMode 'select']
|
||||
expected: FAIL
|
||||
|
||||
[url selectionMode 'start']
|
||||
expected: FAIL
|
||||
|
||||
[url selectionMode 'end']
|
||||
expected: FAIL
|
||||
|
||||
[url selectionMode 'preserve']
|
||||
expected: FAIL
|
||||
|
||||
[url setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception]
|
||||
expected: FAIL
|
||||
|
||||
[url setRangeText fires a select event]
|
||||
expected: FAIL
|
||||
|
||||
[password setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments]
|
||||
expected: FAIL
|
||||
|
||||
[password selectionMode missing]
|
||||
expected: FAIL
|
||||
|
||||
[password selectionMode 'select']
|
||||
expected: FAIL
|
||||
|
||||
[password selectionMode 'start']
|
||||
expected: FAIL
|
||||
|
||||
[password selectionMode 'end']
|
||||
expected: FAIL
|
||||
|
||||
[password selectionMode 'preserve']
|
||||
expected: FAIL
|
||||
|
||||
[password setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception]
|
||||
expected: FAIL
|
||||
|
||||
[password setRangeText fires a select event]
|
||||
expected: FAIL
|
||||
|
||||
[display_none setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments]
|
||||
expected: FAIL
|
||||
|
||||
[display_none selectionMode missing]
|
||||
expected: FAIL
|
||||
|
||||
[display_none selectionMode 'select']
|
||||
expected: FAIL
|
||||
|
||||
[display_none selectionMode 'start']
|
||||
expected: FAIL
|
||||
|
||||
[display_none selectionMode 'end']
|
||||
expected: FAIL
|
||||
|
||||
[display_none selectionMode 'preserve']
|
||||
expected: FAIL
|
||||
|
||||
[display_none setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception]
|
||||
expected: FAIL
|
||||
|
||||
[display_none setRangeText fires a select event]
|
||||
expected: FAIL
|
||||
|
||||
[textarea setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments]
|
||||
expected: FAIL
|
||||
|
||||
[textarea selectionMode missing]
|
||||
expected: FAIL
|
||||
|
||||
[textarea selectionMode 'select']
|
||||
expected: FAIL
|
||||
|
||||
[textarea selectionMode 'start']
|
||||
expected: FAIL
|
||||
|
||||
[textarea selectionMode 'end']
|
||||
expected: FAIL
|
||||
|
||||
[textarea selectionMode 'preserve']
|
||||
expected: FAIL
|
||||
|
||||
[textarea setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception]
|
||||
expected: FAIL
|
||||
|
||||
[textarea setRangeText fires a select event]
|
||||
expected: FAIL
|
||||
|
||||
[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]
|
||||
expected: FAIL
|
||||
|
||||
[input_not_in_doc selectionMode missing]
|
||||
expected: FAIL
|
||||
|
||||
[input_not_in_doc selectionMode 'select']
|
||||
expected: FAIL
|
||||
|
||||
[input_not_in_doc selectionMode 'start']
|
||||
expected: FAIL
|
||||
|
||||
[input_not_in_doc selectionMode 'end']
|
||||
expected: FAIL
|
||||
|
||||
[input_not_in_doc selectionMode 'preserve']
|
||||
expected: FAIL
|
||||
|
||||
[input_not_in_doc setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception]
|
||||
expected: FAIL
|
||||
|
||||
[input_not_in_doc setRangeText fires a select event]
|
||||
expected: FAIL
|
||||
|
|
@ -1,68 +0,0 @@
|
|||
[selection.html]
|
||||
type: testharness
|
||||
[input type text should support all selection attributes and methods]
|
||||
expected: FAIL
|
||||
|
||||
[input type search should support all selection attributes and methods]
|
||||
expected: FAIL
|
||||
|
||||
[input type url should support all selection attributes and methods]
|
||||
expected: FAIL
|
||||
|
||||
[input type tel should support all selection attributes and methods]
|
||||
expected: FAIL
|
||||
|
||||
[input type password should support all selection attributes and methods]
|
||||
expected: FAIL
|
||||
|
||||
[input type hidden should not support variable-length selections]
|
||||
expected: FAIL
|
||||
|
||||
[input type email should not support variable-length selections]
|
||||
expected: FAIL
|
||||
|
||||
[input type date should not support variable-length selections]
|
||||
expected: FAIL
|
||||
|
||||
[input type month should not support variable-length selections]
|
||||
expected: FAIL
|
||||
|
||||
[input type week should not support variable-length selections]
|
||||
expected: FAIL
|
||||
|
||||
[input type time should not support variable-length selections]
|
||||
expected: FAIL
|
||||
|
||||
[input type datetime-local should not support variable-length selections]
|
||||
expected: FAIL
|
||||
|
||||
[input type number should not support variable-length selections]
|
||||
expected: FAIL
|
||||
|
||||
[input type range should not support variable-length selections]
|
||||
expected: FAIL
|
||||
|
||||
[input type color should not support variable-length selections]
|
||||
expected: FAIL
|
||||
|
||||
[input type checkbox should not support variable-length selections]
|
||||
expected: FAIL
|
||||
|
||||
[input type radio should not support variable-length selections]
|
||||
expected: FAIL
|
||||
|
||||
[input type file should not support variable-length selections]
|
||||
expected: FAIL
|
||||
|
||||
[input type submit should not support variable-length selections]
|
||||
expected: FAIL
|
||||
|
||||
[input type image should not support variable-length selections]
|
||||
expected: FAIL
|
||||
|
||||
[input type reset should not support variable-length selections]
|
||||
expected: FAIL
|
||||
|
||||
[input type button should not support variable-length selections]
|
||||
expected: FAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue