aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/layout_wrapper.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-06-10 23:22:34 +0200
committerSimon Sapin <simon.sapin@exyr.org>2017-06-13 00:27:41 +0200
commitc5c1c1b350a016acb02a389ac3e5737d039796e7 (patch)
treea5a514dbf8148fe544d0981e12f1507f49785448 /components/script/layout_wrapper.rs
parent5bccf98aa4925264b7fe0c5e996ab5de13d02f3a (diff)
downloadservo-c5c1c1b350a016acb02a389ac3e5737d039796e7.tar.gz
servo-c5c1c1b350a016acb02a389ac3e5737d039796e7.zip
Classes/IDs case-sensitivity: get quirks mode from matching context.
Diffstat (limited to 'components/script/layout_wrapper.rs')
-rw-r--r--components/script/layout_wrapper.rs11
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()