mirror of
https://github.com/servo/servo.git
synced 2025-08-25 23:28:21 +01:00
Clamp the repeat numbers greater than 10000
This was causing a crash in gecko mochitest because of OOM.
This commit is contained in:
parent
1ab86a46b6
commit
3f10488da1
2 changed files with 6 additions and 2 deletions
|
@ -252,7 +252,6 @@
|
|||
-> Result<(GridTemplateComponent,
|
||||
GridTemplateComponent,
|
||||
Either<TemplateAreas, None_>), ParseError<'i>> {
|
||||
|
||||
// Other shorthand sub properties also parse `none` and `subgrid` keywords and this
|
||||
// shorthand should know after these keywords there is nothing to parse. Otherwise it
|
||||
// gets confused and rejects the sub properties that contains `none` or `subgrid`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue