Add background-position

This commit is contained in:
Simon Sapin 2020-01-13 17:40:47 +01:00
parent b1dcd5ecb6
commit c73dc885bb
3 changed files with 13 additions and 5 deletions

View file

@ -35,7 +35,7 @@ ${helpers.predefined_type(
${helpers.predefined_type(
"background-position-" + axis,
"position::" + direction + "Position",
engines="gecko servo-2013",
engines="gecko servo-2013 servo-2020",
initial_value="computed::LengthPercentage::zero()",
initial_specified_value="SpecifiedValue::initial_specified_value()",
spec="https://drafts.csswg.org/css-backgrounds-4/#propdef-background-position-" + axis,

View file

@ -217,7 +217,7 @@
</%helpers:shorthand>
<%helpers:shorthand name="background-position"
engines="gecko servo-2013"
engines="gecko servo-2013 servo-2020"
flags="SHORTHAND_IN_GETCS"
sub_properties="background-position-x background-position-y"
spec="https://drafts.csswg.org/css-backgrounds-4/#the-background-position">