mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Implement the unitless length quirk for font-size
This commit is contained in:
parent
ba59fafb44
commit
0e7308e6dc
5 changed files with 30 additions and 18 deletions
|
@ -375,7 +375,11 @@
|
|||
parse(context, input).map(|result| Box::new(result))
|
||||
% else:
|
||||
-> Result<SpecifiedValue, ()> {
|
||||
parse(context, input)
|
||||
% if property.allow_quirks:
|
||||
parse_quirky(context, input, specified::AllowQuirks::Yes)
|
||||
% else:
|
||||
parse(context, input)
|
||||
% endif
|
||||
% endif
|
||||
}
|
||||
pub fn parse_declared(context: &ParserContext, input: &mut Parser)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue