mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Implement offset-distance.
Define the offset-distance property in style system. Differential Revision: https://phabricator.services.mozilla.com/D30582
This commit is contained in:
parent
d80a5d9196
commit
c50829bf6e
1 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue