mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
Add support for subgrid line name lists
This commit is contained in:
parent
c145dd7b0c
commit
8af912200c
2 changed files with 100 additions and 2 deletions
|
@ -110,8 +110,7 @@ enum RepeatType {
|
|||
|
||||
impl TrackRepeat<LengthOrPercentage> {
|
||||
fn parse_with_repeat_type<'i, 't>(context: &ParserContext, input: &mut Parser<'i, 't>)
|
||||
-> Result<(TrackRepeat<LengthOrPercentage>, RepeatType),
|
||||
ParseError<'i>> {
|
||||
-> Result<(TrackRepeat<LengthOrPercentage>, RepeatType), ParseError<'i>> {
|
||||
input.try(|i| i.expect_function_matching("repeat").map_err(|e| e.into())).and_then(|_| {
|
||||
input.parse_nested_block(|input| {
|
||||
let count = RepeatCount::parse(context, input)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue