mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto-generate parsing/serialization code for grid-auto-{rows,columns}
This commit is contained in:
parent
7099743bbf
commit
048f1f3316
3 changed files with 25 additions and 1 deletions
|
@ -272,4 +272,14 @@ ${helpers.predefined_type("object-position",
|
|||
products="gecko",
|
||||
boxed=True)}
|
||||
% endfor
|
||||
|
||||
// NOTE: According to the spec, this should handle multiple values of `<track-size>`,
|
||||
// but gecko supports only a single value
|
||||
${helpers.predefined_type("grid-auto-%ss" % kind,
|
||||
"TrackSize",
|
||||
"Default::default()",
|
||||
animatable=False,
|
||||
spec="https://drafts.csswg.org/css-grid/#propdef-grid-auto-%ss" % kind,
|
||||
products="gecko",
|
||||
boxed=True)}
|
||||
% endfor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue