mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Use Python's True instead of string for arbitrary Python code in mako
This commit is contained in:
parent
50e4171958
commit
3f6a613bea
7 changed files with 12 additions and 12 deletions
|
@ -389,7 +389,7 @@ ${helpers.predefined_type("scroll-snap-destination",
|
|||
"computed::Position::zero()",
|
||||
products="gecko",
|
||||
gecko_pref="layout.css.scroll-snap.enabled",
|
||||
boxed="True",
|
||||
boxed=True,
|
||||
spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-snap-destination)",
|
||||
animation_value_type="discrete")}
|
||||
|
||||
|
@ -505,7 +505,7 @@ ${helpers.predefined_type("perspective",
|
|||
${helpers.predefined_type("perspective-origin",
|
||||
"position::Position",
|
||||
"computed::position::Position::center()",
|
||||
boxed="True",
|
||||
boxed=True,
|
||||
extra_prefixes="moz webkit",
|
||||
spec="https://drafts.csswg.org/css-transforms-2/#perspective-origin-property",
|
||||
animation_value_type="ComputedValue")}
|
||||
|
@ -589,7 +589,7 @@ ${helpers.single_keyword("-moz-appearance",
|
|||
|
||||
${helpers.predefined_type("-moz-binding", "UrlOrNone", "Either::Second(None_)",
|
||||
products="gecko",
|
||||
boxed="True" if product == "gecko" else "False",
|
||||
boxed= product == "gecko",
|
||||
animation_value_type="none",
|
||||
gecko_ffi_name="mBinding",
|
||||
spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-binding)")}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue