Fix wrong initial values in various single keyword properties

This commit is contained in:
Nazım Can Altınova 2017-03-10 15:56:43 +03:00
parent a11a3fe68b
commit bae7c50ef7
No known key found for this signature in database
GPG key ID: AF9BCD7CE6449954
6 changed files with 11 additions and 11 deletions

View file

@ -114,9 +114,9 @@ ${helpers.predefined_type("column-gap",
animatable=False, animatable=False,
spec="https://drafts.csswg.org/css-multicol/#propdef-column-gap")} spec="https://drafts.csswg.org/css-multicol/#propdef-column-gap")}
${helpers.single_keyword("column-fill", "auto balance", extra_prefixes="moz", ${helpers.single_keyword("column-fill", "balance auto", extra_prefixes="moz",
products="gecko", animatable=False, products="gecko", animatable=False,
spec="https://drafts.csswg.org/css-multicol/#propdef-column-gap")} spec="https://drafts.csswg.org/css-multicol/#propdef-column-fill")}
// https://drafts.csswg.org/css-multicol-1/#propdef-column-rule-width // https://drafts.csswg.org/css-multicol-1/#propdef-column-rule-width
<%helpers:longhand name="column-rule-width" products="gecko" animatable="True" extra_prefixes="moz" <%helpers:longhand name="column-rule-width" products="gecko" animatable="True" extra_prefixes="moz"

View file

@ -22,12 +22,12 @@ ${helpers.single_keyword("text-anchor",
// Section 11 - Painting: Filling, Stroking and Marker Symbols // Section 11 - Painting: Filling, Stroking and Marker Symbols
${helpers.single_keyword("color-interpolation", ${helpers.single_keyword("color-interpolation",
"auto srgb linearrgb", "srgb auto linearrgb",
products="gecko", products="gecko",
animatable=False, animatable=False,
spec="https://www.w3.org/TR/SVG11/painting.html#ColorInterpolationProperty")} spec="https://www.w3.org/TR/SVG11/painting.html#ColorInterpolationProperty")}
${helpers.single_keyword("color-interpolation-filters", "auto srgb linearrgb", ${helpers.single_keyword("color-interpolation-filters", "linearrgb auto srgb",
products="gecko", products="gecko",
gecko_constant_prefix="NS_STYLE_COLOR_INTERPOLATION", gecko_constant_prefix="NS_STYLE_COLOR_INTERPOLATION",
animatable=False, animatable=False,

View file

@ -164,7 +164,7 @@ ${helpers.single_keyword("text-transform",
animatable=False, animatable=False,
spec="https://drafts.csswg.org/css-text/#propdef-text-transform")} spec="https://drafts.csswg.org/css-text/#propdef-text-transform")}
${helpers.single_keyword("hyphens", "none manual auto", ${helpers.single_keyword("hyphens", "manual none auto",
gecko_enum_prefix="StyleHyphens", gecko_enum_prefix="StyleHyphens",
products="gecko", animatable=False, extra_prefixes="moz", products="gecko", animatable=False, extra_prefixes="moz",
spec="https://drafts.csswg.org/css-text/#propdef-hyphens")} spec="https://drafts.csswg.org/css-text/#propdef-hyphens")}
@ -1133,7 +1133,7 @@ ${helpers.predefined_type(
// CSS Ruby Layout Module Level 1 // CSS Ruby Layout Module Level 1
// https://drafts.csswg.org/css-ruby/ // https://drafts.csswg.org/css-ruby/
${helpers.single_keyword("ruby-align", "start center space-between space-around", ${helpers.single_keyword("ruby-align", "space-around start center space-between",
products="gecko", animatable=False, products="gecko", animatable=False,
spec="https://drafts.csswg.org/css-ruby/#ruby-align-property")} spec="https://drafts.csswg.org/css-ruby/#ruby-align-property")}

View file

@ -86,7 +86,7 @@ ${helpers.single_keyword("flex-wrap", "nowrap wrap wrap-reverse",
% if product == "servo": % if product == "servo":
// FIXME: Update Servo to support the same Syntax as Gecko. // FIXME: Update Servo to support the same Syntax as Gecko.
${helpers.single_keyword("justify-content", "stretch flex-start flex-end center space-between space-around", ${helpers.single_keyword("justify-content", "flex-start stretch flex-end center space-between space-around",
extra_prefixes="webkit", extra_prefixes="webkit",
spec="https://drafts.csswg.org/css-align/#propdef-justify-content", spec="https://drafts.csswg.org/css-align/#propdef-justify-content",
animatable=False)} animatable=False)}

View file

@ -87,7 +87,7 @@ ${helpers.single_keyword("mask-type", "luminance alpha",
</%helpers:longhand> </%helpers:longhand>
${helpers.single_keyword("mask-mode", ${helpers.single_keyword("mask-mode",
"alpha luminance match-source", "match-source alpha luminance",
vector=True, vector=True,
products="gecko", products="gecko",
animatable=False, animatable=False,
@ -146,7 +146,7 @@ ${helpers.single_keyword("mask-repeat",
</%helpers:vector_longhand> </%helpers:vector_longhand>
${helpers.single_keyword("mask-clip", ${helpers.single_keyword("mask-clip",
"content-box padding-box border-box", "border-box content-box padding-box",
extra_gecko_values="fill-box stroke-box view-box no-clip", extra_gecko_values="fill-box stroke-box view-box no-clip",
vector=True, vector=True,
products="gecko", products="gecko",
@ -155,7 +155,7 @@ ${helpers.single_keyword("mask-clip",
spec="https://drafts.fxtf.org/css-masking/#propdef-mask-clip")} spec="https://drafts.fxtf.org/css-masking/#propdef-mask-clip")}
${helpers.single_keyword("mask-origin", ${helpers.single_keyword("mask-origin",
"content-box padding-box border-box", "border-box content-box padding-box",
extra_gecko_values="fill-box stroke-box view-box", extra_gecko_values="fill-box stroke-box view-box",
vector=True, vector=True,
products="gecko", products="gecko",

View file

@ -11,7 +11,7 @@
// TODO spec says that UAs should not support this // TODO spec says that UAs should not support this
// we should probably remove from gecko (https://bugzilla.mozilla.org/show_bug.cgi?id=1328331) // we should probably remove from gecko (https://bugzilla.mozilla.org/show_bug.cgi?id=1328331)
${helpers.single_keyword("ime-mode", "normal auto active disabled inactive", ${helpers.single_keyword("ime-mode", "auto normal active disabled inactive",
products="gecko", gecko_ffi_name="mIMEMode", products="gecko", gecko_ffi_name="mIMEMode",
animatable=False, animatable=False,
spec="https://drafts.csswg.org/css-ui/#input-method-editor")} spec="https://drafts.csswg.org/css-ui/#input-method-editor")}