From 243520fb27f29d533ac92e9c3822b8de4c309055 Mon Sep 17 00:00:00 2001 From: longsonr Date: Fri, 19 Jul 2019 12:57:54 +0100 Subject: [PATCH] style: Change dominant-baseline from reset to inherit. Bug: 1353164 Reviewed-by: heycam --- .../style/properties/longhands/inherited_svg.mako.rs | 9 +++++++++ components/style/properties/longhands/svg.mako.rs | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/components/style/properties/longhands/inherited_svg.mako.rs b/components/style/properties/longhands/inherited_svg.mako.rs index faa806a60a3..5becde6d258 100644 --- a/components/style/properties/longhands/inherited_svg.mako.rs +++ b/components/style/properties/longhands/inherited_svg.mako.rs @@ -10,6 +10,15 @@ // Section 10 - Text +${helpers.single_keyword( + "dominant-baseline", + """auto ideographic alphabetic hanging mathematical central middle + text-after-edge text-before-edge""", + products="gecko", + animation_value_type="discrete", + spec="https://www.w3.org/TR/css-inline-3/#propdef-dominant-baseline", +)} + ${helpers.single_keyword( "text-anchor", "start middle end", diff --git a/components/style/properties/longhands/svg.mako.rs b/components/style/properties/longhands/svg.mako.rs index d51bc59924b..5480a6d5fdc 100644 --- a/components/style/properties/longhands/svg.mako.rs +++ b/components/style/properties/longhands/svg.mako.rs @@ -6,15 +6,6 @@ <% data.new_style_struct("SVG", inherited=False, gecko_name="SVGReset") %> -${helpers.single_keyword( - "dominant-baseline", - """auto ideographic alphabetic hanging mathematical central middle - text-after-edge text-before-edge""", - products="gecko", - animation_value_type="discrete", - spec="https://www.w3.org/TR/SVG11/text.html#DominantBaselineProperty", -)} - ${helpers.single_keyword( "vector-effect", "none non-scaling-stroke",