mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Propagate quirks mode all the way to ParserContext
The quirks mode is still not properly propagated in geckolib.
This commit is contained in:
parent
10fb8e61c7
commit
f68e2fded9
39 changed files with 225 additions and 100 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
//! Computed values.
|
||||
|
||||
use context::QuirksMode;
|
||||
use euclid::size::Size2D;
|
||||
use font_metrics::FontMetricsProvider;
|
||||
use media_queries::Device;
|
||||
|
@ -63,6 +64,9 @@ pub struct Context<'a> {
|
|||
|
||||
/// Whether or not we are computing the media list in a media query
|
||||
pub in_media_query: bool,
|
||||
|
||||
/// The quirks mode of this context.
|
||||
pub quirks_mode: QuirksMode,
|
||||
}
|
||||
|
||||
impl<'a> Context<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue