mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: support shape-margin.
Bug: 1265342 Reviewed-by: xidorn MozReview-Commit-ID: 99pLZsFA9mj
This commit is contained in:
parent
48558e313a
commit
b91ae6b1f9
1 changed files with 12 additions and 0 deletions
|
@ -660,9 +660,21 @@ ${helpers.predefined_type(
|
|||
products="gecko",
|
||||
gecko_pref="layout.css.shape-outside.enabled",
|
||||
animation_value_type="ComputedValue",
|
||||
flags="APPLIES_TO_FIRST_LETTER",
|
||||
spec="https://drafts.csswg.org/css-shapes/#shape-image-threshold-property",
|
||||
)}
|
||||
|
||||
${helpers.predefined_type(
|
||||
"shape-margin",
|
||||
"NonNegativeLengthOrPercentage",
|
||||
"computed::NonNegativeLengthOrPercentage::zero()",
|
||||
products="gecko",
|
||||
gecko_pref="layout.css.shape-outside.enabled",
|
||||
animation_value_type="NonNegativeLengthOrPercentage",
|
||||
flags="APPLIES_TO_FIRST_LETTER",
|
||||
spec="https://drafts.csswg.org/css-shapes/#shape-margin-property",
|
||||
)}
|
||||
|
||||
${helpers.predefined_type(
|
||||
"shape-outside",
|
||||
"basic_shape::FloatAreaShape",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue