Skip to content
Permalink
Browse files

style: Implement offset-distance.

Define the offset-distance property in style system.

Differential Revision: https://phabricator.services.mozilla.com/D30582
  • Loading branch information...
BorisChiou authored and emilio committed May 20, 2019
1 parent d80a5d9 commit c50829bf6edefd3c689d62f8a76735f7cd1b3995
Showing with 13 additions and 0 deletions.
  1. +13 −0 components/style/properties/longhands/box.mako.rs
@@ -404,6 +404,19 @@ ${helpers.predefined_type(
gecko_pref="layout.css.motion-path.enabled",
flags="CREATES_STACKING_CONTEXT FIXPOS_CB",
spec="https://drafts.fxtf.org/motion-1/#offset-path-property",
servo_restyle_damage="reflow_out_of_flow"
)}

// Motion Path Module Level 1
${helpers.predefined_type(
"offset-distance",
"LengthPercentage",
"computed::LengthPercentage::zero()",
products="gecko",
animation_value_type="none",
gecko_pref="layout.css.motion-path.enabled",
spec="https://drafts.fxtf.org/motion-1/#offset-distance-property",
servo_restyle_damage="reflow_out_of_flow"
)}

// CSSOM View Module

0 comments on commit c50829b

Please sign in to comment.
You can’t perform that action at this time.