mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Remove SharedStyleContext::quirks_mode.
This commit is contained in:
parent
772a8464eb
commit
723d31a4d8
7 changed files with 16 additions and 25 deletions
|
@ -67,7 +67,7 @@ use style::CaseSensitivityExt;
|
|||
use style::applicable_declarations::ApplicableDeclarationBlock;
|
||||
use style::attr::AttrValue;
|
||||
use style::computed_values::display;
|
||||
use style::context::{QuirksMode, SharedStyleContext};
|
||||
use style::context::SharedStyleContext;
|
||||
use style::data::ElementData;
|
||||
use style::dom::{LayoutIterator, NodeInfo, OpaqueNode};
|
||||
use style::dom::{PresentationalHintsSynthesizer, TElement, TNode, UnsafeNode};
|
||||
|
@ -357,10 +357,6 @@ impl<'ld> ServoLayoutDocument<'ld> {
|
|||
unsafe { self.document.will_paint(); }
|
||||
}
|
||||
|
||||
pub fn quirks_mode(&self) -> QuirksMode {
|
||||
unsafe { self.document.quirks_mode() }
|
||||
}
|
||||
|
||||
pub fn style_shared_lock(&self) -> &StyleSharedRwLock {
|
||||
unsafe { self.document.style_shared_lock() }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue