Update nightly rustc.

This commit is contained in:
Josh Matthews 2021-09-07 01:44:56 -04:00
parent 74f1eb199e
commit 01681e79c4
20 changed files with 33 additions and 28 deletions

View file

@ -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() &&