diff options
Diffstat (limited to 'components/script/layout_wrapper.rs')
-rw-r--r-- | components/script/layout_wrapper.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/components/script/layout_wrapper.rs b/components/script/layout_wrapper.rs index 7b4b450c63e..1d28242e926 100644 --- a/components/script/layout_wrapper.rs +++ b/components/script/layout_wrapper.rs @@ -802,12 +802,6 @@ impl<'le> ::selectors::Element for ServoLayoutElement<'le> { } } - fn in_quirks_mode_document(&self) -> bool { - unsafe { - self.element.in_quirks_mode_document_for_layout() - } - } - fn is_html_element_in_html_document(&self) -> bool { unsafe { self.element.html_element_in_html_document_for_layout() @@ -1210,11 +1204,6 @@ impl<'le> ::selectors::Element for ServoThreadSafeLayoutElement<'le> { true } - fn in_quirks_mode_document(&self) -> bool { - debug!("ServoThreadSafeLayoutElement::in_quirks_mode_document called"); - false - } - #[inline] fn get_local_name(&self) -> &LocalName { self.element.get_local_name() |