mirror of
https://github.com/servo/servo.git
synced 2025-06-24 17:14:33 +01:00
Fix parsing of grid-template shorthand
It should accept 'grid-template-rows / grid-template-columns values' values not 'grid-template-rows grid-template-columns values'.
This commit is contained in:
parent
fd3b99027a
commit
af96e09c7f
1 changed files with 1 additions and 0 deletions
|
@ -316,6 +316,7 @@
|
||||||
list.line_names[0] = first_line_names; // won't panic
|
list.line_names[0] = first_line_names; // won't panic
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input.expect_delim('/')?;
|
||||||
Ok((template_rows, GridTemplateComponent::parse(context, input)?, Either::Second(None_)))
|
Ok((template_rows, GridTemplateComponent::parse(context, input)?, Either::Second(None_)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue