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:
Jon Leighton 2017-12-11 15:57:18 +01:00
parent e34f7c58c9
commit ce7bae8834
13 changed files with 198 additions and 740 deletions

View file

@ -8,6 +8,7 @@ use dom::attr::Attr;
use dom::bindings::cell::DomRefCell; use dom::bindings::cell::DomRefCell;
use dom::bindings::codegen::Bindings::EventBinding::EventMethods; use dom::bindings::codegen::Bindings::EventBinding::EventMethods;
use dom::bindings::codegen::Bindings::FileListBinding::FileListMethods; use dom::bindings::codegen::Bindings::FileListBinding::FileListMethods;
use dom::bindings::codegen::Bindings::HTMLFormElementBinding::SelectionMode;
use dom::bindings::codegen::Bindings::HTMLInputElementBinding; use dom::bindings::codegen::Bindings::HTMLInputElementBinding;
use dom::bindings::codegen::Bindings::HTMLInputElementBinding::HTMLInputElementMethods; use dom::bindings::codegen::Bindings::HTMLInputElementBinding::HTMLInputElementMethods;
use dom::bindings::codegen::Bindings::KeyboardEventBinding::KeyboardEventMethods; use dom::bindings::codegen::Bindings::KeyboardEventBinding::KeyboardEventMethods;
@ -188,7 +189,6 @@ pub struct HTMLInputElement {
input_type: Cell<InputType>, input_type: Cell<InputType>,
checked_changed: Cell<bool>, checked_changed: Cell<bool>,
placeholder: DomRefCell<DOMString>, placeholder: DomRefCell<DOMString>,
value_changed: Cell<bool>,
size: Cell<u32>, size: Cell<u32>,
maxlength: Cell<i32>, maxlength: Cell<i32>,
minlength: Cell<i32>, minlength: Cell<i32>,
@ -244,7 +244,6 @@ impl HTMLInputElement {
input_type: Cell::new(Default::default()), input_type: Cell::new(Default::default()),
placeholder: DomRefCell::new(DOMString::new()), placeholder: DomRefCell::new(DOMString::new()),
checked_changed: Cell::new(false), checked_changed: Cell::new(false),
value_changed: Cell::new(false),
maxlength: Cell::new(DEFAULT_MAX_LENGTH), maxlength: Cell::new(DEFAULT_MAX_LENGTH),
minlength: Cell::new(DEFAULT_MIN_LENGTH), minlength: Cell::new(DEFAULT_MIN_LENGTH),
size: Cell::new(DEFAULT_INPUT_SIZE), size: Cell::new(DEFAULT_INPUT_SIZE),
@ -442,6 +441,10 @@ impl TextControl for HTMLInputElement {
} }
} }
} }
fn set_dirty_value_flag(&self, value: bool) {
self.value_dirty.set(value)
}
} }
impl HTMLInputElementMethods for HTMLInputElement { impl HTMLInputElementMethods for HTMLInputElement {
@ -581,7 +584,6 @@ impl HTMLInputElementMethods for HTMLInputElement {
} }
} }
self.value_changed.set(true);
self.upcast::<Node>().dirty(NodeDamage::OtherNodeDamage); self.upcast::<Node>().dirty(NodeDamage::OtherNodeDamage);
Ok(()) Ok(())
} }
@ -751,6 +753,19 @@ impl HTMLInputElementMethods for HTMLInputElement {
self.set_dom_selection_range(start, end, direction) self.set_dom_selection_range(start, end, direction)
} }
// https://html.spec.whatwg.org/multipage/#dom-textarea/input-setrangetext
fn SetRangeText(&self, replacement: DOMString) -> ErrorResult {
// defined in TextControl trait
self.set_dom_range_text(replacement, None, None, Default::default())
}
// https://html.spec.whatwg.org/multipage/#dom-textarea/input-setrangetext
fn SetRangeText_(&self, replacement: DOMString, start: u32, end: u32,
selection_mode: SelectionMode) -> ErrorResult {
// defined in TextControl trait
self.set_dom_range_text(replacement, Some(start), Some(end), selection_mode)
}
// Select the files based on filepaths passed in, // Select the files based on filepaths passed in,
// enabled by dom.htmlinputelement.select_files.enabled, // enabled by dom.htmlinputelement.select_files.enabled,
// used for test purpose. // used for test purpose.
@ -931,7 +946,6 @@ impl HTMLInputElement {
self.SetValue(self.DefaultValue()) self.SetValue(self.DefaultValue())
.expect("Failed to reset input value to default."); .expect("Failed to reset input value to default.");
self.value_dirty.set(false); self.value_dirty.set(false);
self.value_changed.set(false);
self.upcast::<Node>().dirty(NodeDamage::OtherNodeDamage); self.upcast::<Node>().dirty(NodeDamage::OtherNodeDamage);
} }
@ -1213,7 +1227,7 @@ impl VirtualMethods for HTMLInputElement {
self.update_placeholder_shown_state(); self.update_placeholder_shown_state();
}, },
&local_name!("value") if !self.value_changed.get() => { &local_name!("value") if !self.value_dirty.get() => {
let value = mutation.new_value(attr).map(|value| (**value).to_owned()); let value = mutation.new_value(attr).map(|value| (**value).to_owned());
self.textinput.borrow_mut().set_content( self.textinput.borrow_mut().set_content(
value.map_or(DOMString::new(), DOMString::from)); value.map_or(DOMString::new(), DOMString::from));
@ -1356,7 +1370,7 @@ impl VirtualMethods for HTMLInputElement {
keyevent.MetaKey()); keyevent.MetaKey());
}, },
DispatchInput => { DispatchInput => {
self.value_changed.set(true); self.value_dirty.set(true);
self.update_placeholder_shown_state(); self.update_placeholder_shown_state();
self.upcast::<Node>().dirty(NodeDamage::OtherNodeDamage); self.upcast::<Node>().dirty(NodeDamage::OtherNodeDamage);
event.mark_as_handled(); event.mark_as_handled();

View file

@ -5,6 +5,7 @@
use dom::attr::Attr; use dom::attr::Attr;
use dom::bindings::cell::DomRefCell; use dom::bindings::cell::DomRefCell;
use dom::bindings::codegen::Bindings::EventBinding::EventMethods; use dom::bindings::codegen::Bindings::EventBinding::EventMethods;
use dom::bindings::codegen::Bindings::HTMLFormElementBinding::SelectionMode;
use dom::bindings::codegen::Bindings::HTMLTextAreaElementBinding; use dom::bindings::codegen::Bindings::HTMLTextAreaElementBinding;
use dom::bindings::codegen::Bindings::HTMLTextAreaElementBinding::HTMLTextAreaElementMethods; use dom::bindings::codegen::Bindings::HTMLTextAreaElementBinding::HTMLTextAreaElementMethods;
use dom::bindings::codegen::Bindings::NodeBinding::NodeMethods; use dom::bindings::codegen::Bindings::NodeBinding::NodeMethods;
@ -44,7 +45,7 @@ pub struct HTMLTextAreaElement {
textinput: DomRefCell<TextInput<ScriptToConstellationChan>>, textinput: DomRefCell<TextInput<ScriptToConstellationChan>>,
placeholder: DomRefCell<DOMString>, placeholder: DomRefCell<DOMString>,
// https://html.spec.whatwg.org/multipage/#concept-textarea-dirty // https://html.spec.whatwg.org/multipage/#concept-textarea-dirty
value_changed: Cell<bool>, value_dirty: Cell<bool>,
form_owner: MutNullableDom<HTMLFormElement>, form_owner: MutNullableDom<HTMLFormElement>,
} }
@ -122,7 +123,7 @@ impl HTMLTextAreaElement {
placeholder: DomRefCell::new(DOMString::new()), placeholder: DomRefCell::new(DOMString::new()),
textinput: DomRefCell::new(TextInput::new( textinput: DomRefCell::new(TextInput::new(
Lines::Multiple, DOMString::new(), chan, None, None, SelectionDirection::None)), Lines::Multiple, DOMString::new(), chan, None, None, SelectionDirection::None)),
value_changed: Cell::new(false), value_dirty: Cell::new(false),
form_owner: Default::default(), form_owner: Default::default(),
} }
} }
@ -156,6 +157,10 @@ impl TextControl for HTMLTextAreaElement {
fn has_selectable_text(&self) -> bool { fn has_selectable_text(&self) -> bool {
true true
} }
fn set_dirty_value_flag(&self, value: bool) {
self.value_dirty.set(value)
}
} }
impl HTMLTextAreaElementMethods for HTMLTextAreaElement { impl HTMLTextAreaElementMethods for HTMLTextAreaElement {
@ -231,7 +236,7 @@ impl HTMLTextAreaElementMethods for HTMLTextAreaElement {
// if the element's dirty value flag is false, then the element's // if the element's dirty value flag is false, then the element's
// raw value must be set to the value of the element's textContent IDL attribute // raw value must be set to the value of the element's textContent IDL attribute
if !self.value_changed.get() { if !self.value_dirty.get() {
self.reset(); self.reset();
} }
} }
@ -253,7 +258,7 @@ impl HTMLTextAreaElementMethods for HTMLTextAreaElement {
textinput.set_content(value); textinput.set_content(value);
// Step 3 // Step 3
self.value_changed.set(true); self.value_dirty.set(true);
if old_value != textinput.get_content() { if old_value != textinput.get_content() {
// Step 4 // Step 4
@ -309,6 +314,19 @@ impl HTMLTextAreaElementMethods for HTMLTextAreaElement {
fn SetSelectionRange(&self, start: u32, end: u32, direction: Option<DOMString>) -> ErrorResult { fn SetSelectionRange(&self, start: u32, end: u32, direction: Option<DOMString>) -> ErrorResult {
self.set_dom_selection_range(start, end, direction) self.set_dom_selection_range(start, end, direction)
} }
// https://html.spec.whatwg.org/multipage/#dom-textarea/input-setrangetext
fn SetRangeText(&self, replacement: DOMString) -> ErrorResult {
// defined in TextControl trait
self.set_dom_range_text(replacement, None, None, Default::default())
}
// https://html.spec.whatwg.org/multipage/#dom-textarea/input-setrangetext
fn SetRangeText_(&self, replacement: DOMString, start: u32, end: u32,
selection_mode: SelectionMode) -> ErrorResult {
// defined in TextControl trait
self.set_dom_range_text(replacement, Some(start), Some(end), selection_mode)
}
} }
@ -316,7 +334,7 @@ impl HTMLTextAreaElement {
pub fn reset(&self) { pub fn reset(&self) {
// https://html.spec.whatwg.org/multipage/#the-textarea-element:concept-form-reset-control // https://html.spec.whatwg.org/multipage/#the-textarea-element:concept-form-reset-control
self.SetValue(self.DefaultValue()); self.SetValue(self.DefaultValue());
self.value_changed.set(false); self.value_dirty.set(false);
} }
} }
@ -409,7 +427,7 @@ impl VirtualMethods for HTMLTextAreaElement {
if let Some(ref s) = self.super_type() { if let Some(ref s) = self.super_type() {
s.children_changed(mutation); s.children_changed(mutation);
} }
if !self.value_changed.get() { if !self.value_dirty.get() {
self.reset(); self.reset();
} }
} }
@ -432,7 +450,7 @@ impl VirtualMethods for HTMLTextAreaElement {
match action { match action {
KeyReaction::TriggerDefaultAction => (), KeyReaction::TriggerDefaultAction => (),
KeyReaction::DispatchInput => { KeyReaction::DispatchInput => {
self.value_changed.set(true); self.value_dirty.set(true);
self.update_placeholder_shown_state(); self.update_placeholder_shown_state();
self.upcast::<Node>().dirty(NodeDamage::OtherNodeDamage); self.upcast::<Node>().dirty(NodeDamage::OtherNodeDamage);
event.mark_as_handled(); event.mark_as_handled();

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use dom::bindings::cell::DomRefCell; use dom::bindings::cell::DomRefCell;
use dom::bindings::codegen::Bindings::HTMLFormElementBinding::SelectionMode;
use dom::bindings::conversions::DerivedFrom; use dom::bindings::conversions::DerivedFrom;
use dom::bindings::error::{Error, ErrorResult}; use dom::bindings::error::{Error, ErrorResult};
use dom::bindings::str::DOMString; use dom::bindings::str::DOMString;
@ -10,12 +11,13 @@ use dom::event::{EventBubbles, EventCancelable};
use dom::eventtarget::EventTarget; use dom::eventtarget::EventTarget;
use dom::node::{Node, NodeDamage, window_from_node}; use dom::node::{Node, NodeDamage, window_from_node};
use script_traits::ScriptToConstellationChan; use script_traits::ScriptToConstellationChan;
use textinput::{SelectionDirection, TextInput}; use textinput::{SelectionDirection, SelectionState, TextInput};
pub trait TextControl: DerivedFrom<EventTarget> + DerivedFrom<Node> { pub trait TextControl: DerivedFrom<EventTarget> + DerivedFrom<Node> {
fn textinput(&self) -> &DomRefCell<TextInput<ScriptToConstellationChan>>; fn textinput(&self) -> &DomRefCell<TextInput<ScriptToConstellationChan>>;
fn selection_api_applies(&self) -> bool; fn selection_api_applies(&self) -> bool;
fn has_selectable_text(&self) -> bool; fn has_selectable_text(&self) -> bool;
fn set_dirty_value_flag(&self, value: bool);
// https://html.spec.whatwg.org/multipage/#dom-textarea/input-select // https://html.spec.whatwg.org/multipage/#dom-textarea/input-select
fn dom_select(&self) { fn dom_select(&self) {
@ -25,7 +27,7 @@ pub trait TextControl: DerivedFrom<EventTarget> + DerivedFrom<Node> {
} }
// Step 2 // Step 2
self.set_selection_range(Some(0), Some(u32::max_value()), None); self.set_selection_range(Some(0), Some(u32::max_value()), None, None);
} }
// https://html.spec.whatwg.org/multipage/#dom-textarea/input-selectionstart // https://html.spec.whatwg.org/multipage/#dom-textarea/input-selectionstart
@ -57,7 +59,7 @@ pub trait TextControl: DerivedFrom<EventTarget> + DerivedFrom<Node> {
} }
// Step 4 // Step 4
self.set_selection_range(start, Some(end), Some(self.selection_direction())); self.set_selection_range(start, Some(end), Some(self.selection_direction()), None);
Ok(()) Ok(())
} }
@ -80,7 +82,7 @@ pub trait TextControl: DerivedFrom<EventTarget> + DerivedFrom<Node> {
} }
// Step 2 // Step 2
self.set_selection_range(Some(self.selection_start()), end, Some(self.selection_direction())); self.set_selection_range(Some(self.selection_start()), end, Some(self.selection_direction()), None);
Ok(()) Ok(())
} }
@ -105,7 +107,8 @@ pub trait TextControl: DerivedFrom<EventTarget> + DerivedFrom<Node> {
self.set_selection_range( self.set_selection_range(
Some(self.selection_start()), Some(self.selection_start()),
Some(self.selection_end()), Some(self.selection_end()),
direction.map(|d| SelectionDirection::from(d)) direction.map(|d| SelectionDirection::from(d)),
None
); );
Ok(()) Ok(())
} }
@ -118,7 +121,116 @@ pub trait TextControl: DerivedFrom<EventTarget> + DerivedFrom<Node> {
} }
// Step 2 // Step 2
self.set_selection_range(Some(start), Some(end), direction.map(|d| SelectionDirection::from(d))); self.set_selection_range(Some(start), Some(end), direction.map(|d| SelectionDirection::from(d)), None);
Ok(())
}
// https://html.spec.whatwg.org/multipage/#dom-textarea/input-setrangetext
fn set_dom_range_text(&self, replacement: DOMString, start: Option<u32>, end: Option<u32>,
selection_mode: SelectionMode) -> ErrorResult {
// Step 1
if !self.selection_api_applies() {
return Err(Error::InvalidState);
}
// Step 2
self.set_dirty_value_flag(true);
// Step 3
let mut start = start.unwrap_or_else(|| self.selection_start());
let mut end = end.unwrap_or_else(|| self.selection_end());
// Step 4
if start > end {
return Err(Error::IndexSize);
}
// Save the original selection state to later pass to set_selection_range, because we will
// change the selection state in order to replace the text in the range.
let original_selection_state = self.textinput().borrow().selection_state();
let content_length = self.textinput().borrow().len() as u32;
// Step 5
if start > content_length {
start = content_length;
}
// Step 6
if end > content_length {
end = content_length;
}
// Step 7
let mut selection_start = self.selection_start();
// Step 8
let mut selection_end = self.selection_end();
// Step 11
// Must come before the textinput.replace_selection() call, as replacement gets moved in
// that call.
let new_length = replacement.len() as u32;
{
let mut textinput = self.textinput().borrow_mut();
// Steps 9-10
textinput.set_selection_range(start, end, SelectionDirection::None);
textinput.replace_selection(replacement);
}
// Step 12
let new_end = start + new_length;
// Step 13
match selection_mode {
SelectionMode::Select => {
selection_start = start;
selection_end = new_end;
},
SelectionMode::Start => {
selection_start = start;
selection_end = start;
},
SelectionMode::End => {
selection_start = new_end;
selection_end = new_end;
},
SelectionMode::Preserve => {
// Sub-step 1
let old_length = end - start;
// Sub-step 2
let delta = (new_length as isize) - (old_length as isize);
// Sub-step 3
if selection_start > end {
selection_start = ((selection_start as isize) + delta) as u32;
} else if selection_start > start {
selection_start = start;
}
// Sub-step 4
if selection_end > end {
selection_end = ((selection_end as isize) + delta) as u32;
} else if selection_end > start {
selection_end = new_end;
}
},
}
// Step 14
self.set_selection_range(
Some(selection_start),
Some(selection_end),
None,
Some(original_selection_state)
);
Ok(()) Ok(())
} }
@ -135,9 +247,10 @@ pub trait TextControl: DerivedFrom<EventTarget> + DerivedFrom<Node> {
} }
// https://html.spec.whatwg.org/multipage/#set-the-selection-range // https://html.spec.whatwg.org/multipage/#set-the-selection-range
fn set_selection_range(&self, start: Option<u32>, end: Option<u32>, direction: Option<SelectionDirection>) { fn set_selection_range(&self, start: Option<u32>, end: Option<u32>, direction: Option<SelectionDirection>,
original_selection_state: Option<SelectionState>) {
let mut textinput = self.textinput().borrow_mut(); let mut textinput = self.textinput().borrow_mut();
let original_selection_state = textinput.selection_state(); let original_selection_state = original_selection_state.unwrap_or_else(|| textinput.selection_state());
// Step 1 // Step 1
let start = start.unwrap_or(0); let start = start.unwrap_or(0);

View file

@ -35,3 +35,11 @@ interface HTMLFormElement : HTMLElement {
//boolean checkValidity(); //boolean checkValidity();
//boolean reportValidity(); //boolean reportValidity();
}; };
// https://html.spec.whatwg.org/multipage/#selectionmode
enum SelectionMode {
"preserve", // default
"select",
"start",
"end"
};

View file

@ -96,9 +96,11 @@ interface HTMLInputElement : HTMLElement {
attribute unsigned long? selectionEnd; attribute unsigned long? selectionEnd;
[SetterThrows] [SetterThrows]
attribute DOMString? selectionDirection; attribute DOMString? selectionDirection;
//void setRangeText(DOMString replacement); [Throws]
//void setRangeText(DOMString replacement, unsigned long start, unsigned long end, void setRangeText(DOMString replacement);
// optional SelectionMode selectionMode = "preserve"); [Throws]
void setRangeText(DOMString replacement, unsigned long start, unsigned long end,
optional SelectionMode selectionMode = "preserve");
[Throws] [Throws]
void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction); void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);

View file

@ -57,9 +57,11 @@ interface HTMLTextAreaElement : HTMLElement {
attribute unsigned long? selectionEnd; attribute unsigned long? selectionEnd;
[SetterThrows] [SetterThrows]
attribute DOMString? selectionDirection; attribute DOMString? selectionDirection;
// void setRangeText(DOMString replacement); [Throws]
// void setRangeText(DOMString replacement, unsigned long start, unsigned long end, void setRangeText(DOMString replacement);
// optional SelectionMode selectionMode = "preserve"); [Throws]
void setRangeText(DOMString replacement, unsigned long start, unsigned long end,
optional SelectionMode selectionMode = "preserve");
[Throws] [Throws]
void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction); void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);
}; };

View file

@ -56,6 +56,13 @@ pub struct TextPoint {
pub index: usize, pub index: usize,
} }
#[derive(Clone, Copy, PartialEq)]
pub struct SelectionState {
start: TextPoint,
end: TextPoint,
direction: SelectionDirection,
}
/// Encapsulated state for handling keyboard input in a single or multiline text input control. /// Encapsulated state for handling keyboard input in a single or multiline text input control.
#[derive(JSTraceable, MallocSizeOf)] #[derive(JSTraceable, MallocSizeOf)]
pub struct TextInput<T: ClipboardProvider> { pub struct TextInput<T: ClipboardProvider> {
@ -242,10 +249,13 @@ impl<T: ClipboardProvider> TextInput<T> {
self.selection_start_offset() .. self.selection_end_offset() self.selection_start_offset() .. self.selection_end_offset()
} }
/// A tuple containing the (start, end, direction) of the current selection. Can be used to /// The state of the current selection. Can be used to compare whether selection state has changed.
/// compare whether selection state has changed. pub fn selection_state(&self) -> SelectionState {
pub fn selection_state(&self) -> (TextPoint, TextPoint, SelectionDirection) { SelectionState {
(self.selection_start(), self.selection_end(), self.selection_direction) start: self.selection_start(),
end: self.selection_end(),
direction: self.selection_direction,
}
} }
// Check that the selection is valid. // Check that the selection is valid.

View file

@ -3090,9 +3090,6 @@
[HTMLInputElement interface: operation setCustomValidity(DOMString)] [HTMLInputElement interface: operation setCustomValidity(DOMString)]
expected: FAIL expected: FAIL
[HTMLInputElement interface: operation setRangeText(DOMString)]
expected: FAIL
[HTMLInputElement interface: operation setRangeText(DOMString,unsigned long,unsigned long,SelectionMode)] [HTMLInputElement interface: operation setRangeText(DOMString,unsigned long,unsigned long,SelectionMode)]
expected: FAIL expected: FAIL
@ -3171,9 +3168,6 @@
[HTMLInputElement interface: document.createElement("input") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: document.createElement("input") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: document.createElement("input") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -3339,9 +3333,6 @@
[HTMLTextAreaElement interface: operation setCustomValidity(DOMString)] [HTMLTextAreaElement interface: operation setCustomValidity(DOMString)]
expected: FAIL expected: FAIL
[HTMLTextAreaElement interface: operation setRangeText(DOMString)]
expected: FAIL
[HTMLTextAreaElement interface: operation setRangeText(DOMString,unsigned long,unsigned long,SelectionMode)] [HTMLTextAreaElement interface: operation setRangeText(DOMString,unsigned long,unsigned long,SelectionMode)]
expected: FAIL expected: FAIL
@ -3393,9 +3384,6 @@
[HTMLTextAreaElement interface: document.createElement("textarea") must inherit property "setRangeText" with the proper type (30)] [HTMLTextAreaElement interface: document.createElement("textarea") must inherit property "setRangeText" with the proper type (30)]
expected: FAIL 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)] [HTMLTextAreaElement interface: document.createElement("textarea") must inherit property "setRangeText" with the proper type (31)]
expected: FAIL expected: FAIL
@ -6291,9 +6279,6 @@
[HTMLInputElement interface: createInput("text") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("text") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("text") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -6375,9 +6360,6 @@
[HTMLInputElement interface: createInput("hidden") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("hidden") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("hidden") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -6459,9 +6441,6 @@
[HTMLInputElement interface: createInput("search") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("search") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("search") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -6543,9 +6522,6 @@
[HTMLInputElement interface: createInput("tel") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("tel") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("tel") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -6627,9 +6603,6 @@
[HTMLInputElement interface: createInput("url") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("url") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("url") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -6711,9 +6684,6 @@
[HTMLInputElement interface: createInput("email") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("email") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("email") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -6795,9 +6765,6 @@
[HTMLInputElement interface: createInput("password") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("password") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("password") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -6879,9 +6846,6 @@
[HTMLInputElement interface: createInput("date") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("date") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("date") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -6963,9 +6927,6 @@
[HTMLInputElement interface: createInput("month") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("month") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("month") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -7047,9 +7008,6 @@
[HTMLInputElement interface: createInput("week") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("week") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("week") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -7131,9 +7089,6 @@
[HTMLInputElement interface: createInput("time") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("time") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("time") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -7215,9 +7170,6 @@
[HTMLInputElement interface: createInput("datetime-local") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("datetime-local") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("datetime-local") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -7299,9 +7251,6 @@
[HTMLInputElement interface: createInput("number") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("number") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("number") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -7383,9 +7332,6 @@
[HTMLInputElement interface: createInput("range") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("range") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("range") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -7467,9 +7413,6 @@
[HTMLInputElement interface: createInput("color") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("color") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("color") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -7551,9 +7494,6 @@
[HTMLInputElement interface: createInput("checkbox") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("checkbox") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("checkbox") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -7635,9 +7575,6 @@
[HTMLInputElement interface: createInput("radio") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("radio") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("radio") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -7722,9 +7659,6 @@
[HTMLInputElement interface: createInput("file") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("file") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("file") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -7806,9 +7740,6 @@
[HTMLInputElement interface: createInput("submit") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("submit") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("submit") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -7890,9 +7821,6 @@
[HTMLInputElement interface: createInput("image") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("image") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("image") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -7974,9 +7902,6 @@
[HTMLInputElement interface: createInput("reset") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("reset") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("reset") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -8058,9 +7983,6 @@
[HTMLInputElement interface: createInput("button") must inherit property "setRangeText" with the proper type (53)] [HTMLInputElement interface: createInput("button") must inherit property "setRangeText" with the proper type (53)]
expected: FAIL 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)] [HTMLInputElement interface: createInput("button") must inherit property "setRangeText" with the proper type (54)]
expected: FAIL expected: FAIL
@ -11730,9 +11652,6 @@
[HTMLInputElement interface: attribute files] [HTMLInputElement interface: attribute files]
expected: FAIL 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] [HTMLInputElement interface: document.createElement("input") must inherit property "autocomplete" with the proper type]
expected: FAIL expected: FAIL
@ -11781,15 +11700,6 @@
[HTMLInputElement interface: document.createElement("input") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: document.createElement("input") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: document.createElement("input") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -11844,15 +11754,6 @@
[HTMLInputElement interface: createInput("text") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("text") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("text") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -11907,15 +11808,6 @@
[HTMLInputElement interface: createInput("hidden") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("hidden") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("hidden") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -11970,15 +11862,6 @@
[HTMLInputElement interface: createInput("search") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("search") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("search") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -12033,15 +11916,6 @@
[HTMLInputElement interface: createInput("tel") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("tel") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("tel") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -12096,15 +11970,6 @@
[HTMLInputElement interface: createInput("url") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("url") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("url") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -12159,15 +12024,6 @@
[HTMLInputElement interface: createInput("email") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("email") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("email") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -12222,15 +12078,6 @@
[HTMLInputElement interface: createInput("password") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("password") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("password") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -12285,15 +12132,6 @@
[HTMLInputElement interface: createInput("date") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("date") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("date") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -12348,15 +12186,6 @@
[HTMLInputElement interface: createInput("month") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("month") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("month") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -12411,15 +12240,6 @@
[HTMLInputElement interface: createInput("week") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("week") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("week") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -12474,15 +12294,6 @@
[HTMLInputElement interface: createInput("time") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("time") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("time") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -12537,15 +12348,6 @@
[HTMLInputElement interface: createInput("datetime-local") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("datetime-local") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("datetime-local") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -12600,15 +12402,6 @@
[HTMLInputElement interface: createInput("number") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("number") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("number") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -12663,15 +12456,6 @@
[HTMLInputElement interface: createInput("range") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("range") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("range") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -12726,15 +12510,6 @@
[HTMLInputElement interface: createInput("color") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("color") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("color") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -12789,15 +12564,6 @@
[HTMLInputElement interface: createInput("checkbox") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("checkbox") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("checkbox") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -12852,15 +12618,6 @@
[HTMLInputElement interface: createInput("radio") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("radio") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("radio") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -12918,15 +12675,6 @@
[HTMLInputElement interface: createInput("file") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("file") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("file") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -12981,15 +12729,6 @@
[HTMLInputElement interface: createInput("submit") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("submit") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("submit") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -13044,15 +12783,6 @@
[HTMLInputElement interface: createInput("image") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("image") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("image") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -13107,15 +12837,6 @@
[HTMLInputElement interface: createInput("reset") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("reset") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("reset") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -13170,15 +12891,6 @@
[HTMLInputElement interface: createInput("button") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLInputElement interface: createInput("button") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLInputElement interface: createInput("button") must inherit property "align" with the proper type]
expected: FAIL expected: FAIL
@ -13260,9 +12972,6 @@
[HTMLOptionElement interface: new Option() must inherit property "index" with the proper type] [HTMLOptionElement interface: new Option() must inherit property "index" with the proper type]
expected: FAIL 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] [HTMLTextAreaElement interface: document.createElement("textarea") must inherit property "autocomplete" with the proper type]
expected: FAIL expected: FAIL
@ -13302,15 +13011,6 @@
[HTMLTextAreaElement interface: document.createElement("textarea") must inherit property "setCustomValidity(DOMString)" with the proper type] [HTMLTextAreaElement interface: document.createElement("textarea") must inherit property "setCustomValidity(DOMString)" with the proper type]
expected: FAIL 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] [HTMLOutputElement interface: document.createElement("output") must inherit property "htmlFor" with the proper type]
expected: FAIL expected: FAIL

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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