mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add gecko leagcy logical properties aliases
This commit is contained in:
parent
e494a0f0a7
commit
2f2044e4b7
4 changed files with 16 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
<%namespace name="helpers" file="/helpers.mako.rs" />
|
||||
<% from data import ALL_SIDES %>
|
||||
<% from data import ALL_SIDES, maybe_moz_logical_alias %>
|
||||
<% data.new_style_struct("Padding", inherited=False) %>
|
||||
|
||||
% for side in ALL_SIDES:
|
||||
|
@ -15,6 +15,7 @@
|
|||
${helpers.predefined_type("padding-%s" % side[0], "LengthOrPercentage",
|
||||
"computed::LengthOrPercentage::Length(Au(0))",
|
||||
"parse_non_negative",
|
||||
alias=maybe_moz_logical_alias(product, side, "-moz-padding-%s"),
|
||||
needs_context=False,
|
||||
animatable=True,
|
||||
logical = side[1],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue