mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Format style component.
This commit is contained in:
parent
31fc6cd565
commit
8dab4d659a
120 changed files with 2207 additions and 1417 deletions
|
@ -92,7 +92,8 @@ impl Time {
|
|||
// ParsingMode::DEFAULT directly.
|
||||
Ok(&Token::Dimension {
|
||||
value, ref unit, ..
|
||||
}) if clamping_mode.is_ok(ParsingMode::DEFAULT, value) =>
|
||||
})
|
||||
if clamping_mode.is_ok(ParsingMode::DEFAULT, value) =>
|
||||
{
|
||||
return Time::parse_dimension(value, unit, /* from_calc = */ false)
|
||||
.map_err(|()| location.new_custom_error(StyleParseErrorKind::UnspecifiedError));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue