From ba6d791ff545342dfc7ada1635517816df0232ec Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Sun, 26 Feb 2017 10:38:07 +0100 Subject: [PATCH] Define keyword values in ASCII lowercase The match_ignore_ascii_case! macro does ASCII-case-insensitive matching. In cssparser verion 0.11, it will require its patterns to be already lower case. --- components/style/properties/longhand/inherited_svg.mako.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/style/properties/longhand/inherited_svg.mako.rs b/components/style/properties/longhand/inherited_svg.mako.rs index ffba35e83f3..d1794a11e53 100644 --- a/components/style/properties/longhand/inherited_svg.mako.rs +++ b/components/style/properties/longhand/inherited_svg.mako.rs @@ -22,12 +22,12 @@ ${helpers.single_keyword("text-anchor", // Section 11 - Painting: Filling, Stroking and Marker Symbols ${helpers.single_keyword("color-interpolation", - "auto sRGB linearRGB", + "auto srgb linearrgb", products="gecko", animatable=False, 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", "auto srgb linearrgb", products="gecko", gecko_constant_prefix="NS_STYLE_COLOR_INTERPOLATION", animatable=False, @@ -52,7 +52,7 @@ ${helpers.single_keyword("fill-rule", "nonzero evenodd", spec="https://www.w3.org/TR/SVG11/painting.html#FillRuleProperty")} ${helpers.single_keyword("shape-rendering", - "auto optimizeSpeed crispEdges geometricPrecision", + "auto optimizespeed crispedges geometricprecision", products="gecko", animatable=False, spec="https://www.w3.org/TR/SVG11/painting.html#ShapeRenderingProperty")}