mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Serialize 'minmax(auto, <flex>)' as '<flex>'
This commit is contained in:
parent
638a306168
commit
fd184f6b4a
2 changed files with 30 additions and 4 deletions
|
@ -237,7 +237,7 @@ fn test_computed_grid_template_rows_colums() {
|
|||
|
||||
assert_computed_serialization(grid_template_rows::parse,
|
||||
"10px repeat(2, 1fr auto minmax(200px, 1fr))",
|
||||
"10px minmax(auto, 1fr) auto minmax(200px, 1fr) minmax(auto, 1fr) auto minmax(200px, 1fr)");
|
||||
"10px 1fr auto minmax(200px, 1fr) 1fr auto minmax(200px, 1fr)");
|
||||
|
||||
assert_computed_serialization(grid_template_rows::parse,
|
||||
"subgrid [a] [] repeat(auto-fill, [])", "subgrid [a] [] repeat(auto-fill, [])");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue