diff options
-rw-r--r-- | components/layout/wrapper.rs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/components/layout/wrapper.rs b/components/layout/wrapper.rs index 9a040947a3c..cd496d77d87 100644 --- a/components/layout/wrapper.rs +++ b/components/layout/wrapper.rs @@ -810,25 +810,6 @@ impl<'ln> ThreadSafeLayoutNode<'ln> { } } - pub fn get_input_value(&self) -> String { - unsafe { - let input: Option<LayoutJS<HTMLInputElement>> = HTMLInputElementCast::to_layout_js(self.get_jsmanaged()); - match input { - Some(input) => input.get_value_for_layout(), - None => panic!("not an input element!") - } - } - } - - pub fn get_input_size(&self) -> u32 { - unsafe { - match HTMLInputElementCast::to_layout_js(self.get_jsmanaged()) { - Some(input) => input.get_size_for_layout(), - None => panic!("not an input element!") - } - } - } - pub fn get_unsigned_integer_attribute(self, attribute: UnsignedIntegerAttribute) -> Option<u32> { unsafe { |