mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +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
|
@ -277,6 +277,7 @@
|
|||
% if not property.derived_from:
|
||||
{
|
||||
let custom_props = context.style().custom_properties();
|
||||
let quirks_mode = context.quirks_mode;
|
||||
::properties::substitute_variables_${property.ident}(
|
||||
&declared_value, &custom_props,
|
||||
|value| {
|
||||
|
@ -349,7 +350,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}, error_reporter);
|
||||
}, error_reporter, quirks_mode);
|
||||
}
|
||||
|
||||
% if property.custom_cascade:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue