servo: Merge #16609 - Implement unitless length quirk (from nox:quirks); r=Manishearth,emilio
The Gecko side doesn't propagate its quirks mode yet. Source-Repo: https://github.com/servo/servo Source-Revision: d8bcc0db1aad26e007b7e2bdeda3cea4953c0db0
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user