mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Auto-generate code for grid-template-{rows,columns}
This commit is contained in:
parent
26540dfbf2
commit
0c68471b5e
3 changed files with 27 additions and 0 deletions
|
@ -319,6 +319,17 @@ ${helpers.predefined_type("object-position",
|
|||
spec="https://drafts.csswg.org/css-grid/#propdef-grid-auto-%ss" % kind,
|
||||
products="gecko",
|
||||
boxed=True)}
|
||||
|
||||
// NOTE: The spec lists only `none | <track-list> | <auto-track-list>`, but gecko seems to support
|
||||
// `subgrid <line-name-list>?` in addition to this (probably old spec). We should support it soon.
|
||||
${helpers.predefined_type("grid-template-%ss" % kind,
|
||||
"TrackListOrNone",
|
||||
"Either::Second(None_)",
|
||||
products="none",
|
||||
spec="https://drafts.csswg.org/css-grid/#propdef-grid-template-%ss" % kind,
|
||||
boxed=True,
|
||||
animation_value_type="none")}
|
||||
|
||||
% endfor
|
||||
|
||||
<%helpers:longhand name="grid-auto-flow"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue