style: Make content distribution parsing know the axis it's parsed for.

MozReview-Commit-ID: LMPXVtKU1mq
This commit is contained in:
Emilio Cobos Álvarez 2018-01-24 13:02:42 +01:00
parent 0aee33081f
commit 7497720081
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
6 changed files with 125 additions and 52 deletions

View file

@ -69,8 +69,8 @@ ${helpers.single_keyword("flex-wrap", "nowrap wrap wrap-reverse",
animation_value_type="discrete")}
% else:
${helpers.predefined_type(name="justify-content",
type="ContentDistribution",
initial_value="specified::ContentDistribution::normal()",
type="JustifyContent",
initial_value="specified::JustifyContent(specified::ContentDistribution::normal())",
spec="https://drafts.csswg.org/css-align/#propdef-justify-content",
extra_prefixes="webkit",
animation_value_type="discrete")}
@ -90,8 +90,8 @@ ${helpers.single_keyword("flex-wrap", "nowrap wrap wrap-reverse",
animation_value_type="discrete")}
% else:
${helpers.predefined_type(name="align-content",
type="ContentDistribution",
initial_value="specified::ContentDistribution::normal()",
type="AlignContent",
initial_value="specified::AlignContent(specified::ContentDistribution::normal())",
spec="https://drafts.csswg.org/css-align/#propdef-align-content",
extra_prefixes="webkit",
animation_value_type="discrete")}