mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +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
|
@ -515,6 +515,7 @@ impl AnimationValue {
|
|||
% if prop.animatable:
|
||||
LonghandId::${prop.camel_case} => {
|
||||
let mut result = None;
|
||||
let quirks_mode = context.quirks_mode;
|
||||
::properties::substitute_variables_${prop.ident}_slow(
|
||||
&variables.css,
|
||||
variables.first_token_type,
|
||||
|
@ -533,7 +534,8 @@ impl AnimationValue {
|
|||
};
|
||||
result = AnimationValue::from_declaration(&declaration, context, initial);
|
||||
},
|
||||
&reporter);
|
||||
&reporter,
|
||||
quirks_mode);
|
||||
result
|
||||
},
|
||||
% else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue