mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update nightly rustc.
This commit is contained in:
parent
74f1eb199e
commit
01681e79c4
20 changed files with 33 additions and 28 deletions
|
@ -1009,7 +1009,7 @@ impl LengthPercentage {
|
|||
return Ok(LengthPercentage::Percentage(computed::Percentage(
|
||||
unit_value,
|
||||
)));
|
||||
}
|
||||
},
|
||||
Token::Number { value, .. } if num_context.is_ok(context.parsing_mode, value) => {
|
||||
if value != 0. &&
|
||||
!context.parsing_mode.allows_unitless_lengths() &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue