aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/layout_interface.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2014-12-08 13:13:26 -0800
committerPatrick Walton <pcwalton@mimiga.net>2014-12-15 17:41:51 -0800
commit17835ba0cb446e1d542c7e5347210c03158a9fec (patch)
treeb94a1e1d35e834887e72e13e914444fc28f19e54 /components/script/layout_interface.rs
parent56b78de5bce995198fbeb41adc58d7625ec93372 (diff)
downloadservo-17835ba0cb446e1d542c7e5347210c03158a9fec.tar.gz
servo-17835ba0cb446e1d542c7e5347210c03158a9fec.zip
style: Implement quirks mode rules.
Diffstat (limited to 'components/script/layout_interface.rs')
-rw-r--r--components/script/layout_interface.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script/layout_interface.rs b/components/script/layout_interface.rs
index c3afb15c057..0f3f4fbacbf 100644
--- a/components/script/layout_interface.rs
+++ b/components/script/layout_interface.rs
@@ -29,6 +29,9 @@ pub enum Msg {
/// Adds the given stylesheet to the document.
LoadStylesheetMsg(Url),
+ /// Puts a document into quirks mode, causing the quirks mode stylesheet to be loaded.
+ SetQuirksModeMsg,
+
/// Requests a reflow.
ReflowMsg(Box<Reflow>),