diff options
Diffstat (limited to 'src/components/script/dom/validitystate.rs')
-rw-r--r-- | src/components/script/dom/validitystate.rs | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/src/components/script/dom/validitystate.rs b/src/components/script/dom/validitystate.rs index f4c4aa114cf..25b89cd4bfc 100644 --- a/src/components/script/dom/validitystate.rs +++ b/src/components/script/dom/validitystate.rs @@ -32,53 +32,6 @@ impl ValidityState { } pub trait ValidityStateMethods { - fn ValueMissing(&self) -> bool; - fn TypeMismatch(&self) -> bool; - fn PatternMismatch(&self) -> bool; - fn TooLong(&self) -> bool; - fn RangeUnderflow(&self) -> bool; - fn RangeOverflow(&self) -> bool; - fn StepMismatch(&self) -> bool; - fn CustomError(&self) -> bool; - fn Valid(&self) -> bool; -} - -impl<'a> ValidityStateMethods for JSRef<'a, ValidityState> { - fn ValueMissing(&self) -> bool { - false - } - - fn TypeMismatch(&self) -> bool { - false - } - - fn PatternMismatch(&self) -> bool { - false - } - - fn TooLong(&self) -> bool { - false - } - - fn RangeUnderflow(&self) -> bool { - false - } - - fn RangeOverflow(&self) -> bool { - false - } - - fn StepMismatch(&self) -> bool { - false - } - - fn CustomError(&self) -> bool { - false - } - - fn Valid(&self) -> bool { - true - } } impl Reflectable for ValidityState { |