style: support shape-margin.

Bug: 1265342
Reviewed-by: xidorn
MozReview-Commit-ID: 99pLZsFA9mj
This commit is contained in:
Brad Werth 2018-02-08 11:00:56 -08:00 committed by Emilio Cobos Álvarez
parent 48558e313a
commit b91ae6b1f9
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -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",