Use Python's True instead of string for arbitrary Python code in mako

This commit is contained in:
CYBAI 2018-01-13 00:14:53 +08:00
parent 50e4171958
commit 3f6a613bea
7 changed files with 12 additions and 12 deletions

View file

@ -35,7 +35,7 @@ ${helpers.single_keyword("list-style-position", "outside inside", animation_valu
"computed::ListStyleType::disc()",
initial_specified_value="specified::ListStyleType::disc()",
animation_value_type="discrete",
boxed="True",
boxed=True,
spec="https://drafts.csswg.org/css-lists/#propdef-list-style-type")}
% endif
@ -58,5 +58,5 @@ ${helpers.predefined_type("-moz-image-region",
"computed::ClipRectOrAuto::auto()",
animation_value_type="ComputedValue",
products="gecko",
boxed="True",
boxed=True,
spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-image-region)")}