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("Margin", inherited=False) %>
|
||||
|
||||
% for side in ALL_SIDES:
|
||||
|
@ -14,5 +14,6 @@
|
|||
%>
|
||||
${helpers.predefined_type("margin-%s" % side[0], "LengthOrPercentageOrAuto",
|
||||
"computed::LengthOrPercentageOrAuto::Length(Au(0))",
|
||||
alias=maybe_moz_logical_alias(product, side, "-moz-margin-%s"),
|
||||
animatable=True, logical = side[1], spec = spec)}
|
||||
% endfor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue