diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2017-04-23 10:32:16 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2017-04-26 17:30:28 +0200 |
commit | f872fdac9a49ef1bc551e507439fa322e4d31528 (patch) | |
tree | 9f4683dc258f6726dabf5cf78fb6d8b6eca00081 /components/script_layout_interface/message.rs | |
parent | 8f1356de60d0f0b1571b0e84b929ba7d8054177f (diff) | |
download | servo-f872fdac9a49ef1bc551e507439fa322e4d31528.tar.gz servo-f872fdac9a49ef1bc551e507439fa322e4d31528.zip |
Make Stylist::quirks_mode hold a QuirksMode
Diffstat (limited to 'components/script_layout_interface/message.rs')
-rw-r--r-- | components/script_layout_interface/message.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script_layout_interface/message.rs b/components/script_layout_interface/message.rs index 69dfd125e12..b94b6cd8d14 100644 --- a/components/script_layout_interface/message.rs +++ b/components/script_layout_interface/message.rs @@ -17,7 +17,7 @@ use script_traits::{LayoutMsg as ConstellationMsg, StackingContextScrollState, W use servo_url::ServoUrl; use std::sync::Arc; use std::sync::mpsc::{Receiver, Sender}; -use style::context::ReflowGoal; +use style::context::{QuirksMode, ReflowGoal}; use style::properties::PropertyId; use style::selector_parser::PseudoElement; use style::stylesheets::Stylesheet; @@ -27,8 +27,8 @@ pub enum Msg { /// Adds the given stylesheet to the document. AddStylesheet(Arc<Stylesheet>), - /// Puts a document into quirks mode, causing the quirks mode stylesheet to be loaded. - SetQuirksMode, + /// Change the quirks mode. + SetQuirksMode(QuirksMode), /// Requests a reflow. Reflow(ScriptReflow), |