mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Add gecko glue for grid-{row,column}-{start,end}
This commit is contained in:
parent
7976640251
commit
6d9aed9ac3
5 changed files with 45 additions and 5 deletions
|
@ -2,6 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
<%! from data import to_rust_ident %>
|
||||
<%namespace name="helpers" file="/helpers.mako.rs" />
|
||||
<% from data import ALL_SIZES, PHYSICAL_SIDES, LOGICAL_SIDES %>
|
||||
|
||||
|
@ -180,3 +181,14 @@ ${helpers.single_keyword("box-sizing",
|
|||
// https://drafts.csswg.org/css-images-3/
|
||||
${helpers.single_keyword("object-fit", "fill contain cover none scale-down",
|
||||
products="gecko", animatable=False)}
|
||||
|
||||
// https://drafts.csswg.org/css-grid/#propdef-grid-row-start
|
||||
<% grid_longhands = ["grid-row-start", "grid-row-end", "grid-column-start", "grid-column-end"] %>
|
||||
|
||||
% for longhand in grid_longhands:
|
||||
${helpers.predefined_type("%s" % longhand,
|
||||
"GridLine",
|
||||
"Default::default()",
|
||||
animatable=False,
|
||||
products="gecko")}
|
||||
% endfor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue