From e3b97730feb80d2974f6454ac32fce7df0fdf360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Jim=C3=A9nez=20Moreno?= Date: Mon, 2 Mar 2020 18:26:52 +0100 Subject: [PATCH] Enable text-decoration on layout 2020 --- components/style/properties/longhands/text.mako.rs | 1 - components/style/properties/shorthands/text.mako.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/components/style/properties/longhands/text.mako.rs b/components/style/properties/longhands/text.mako.rs index b77e17dd6b7..d80ee1eb10a 100644 --- a/components/style/properties/longhands/text.mako.rs +++ b/components/style/properties/longhands/text.mako.rs @@ -32,7 +32,6 @@ ${helpers.predefined_type( "TextDecorationLine", "specified::TextDecorationLine::none()", engines="gecko servo-2013 servo-2020", - servo_2020_pref="layout.2020.unimplemented", initial_specified_value="specified::TextDecorationLine::none()", animation_value_type="discrete", spec="https://drafts.csswg.org/css-text-decor/#propdef-text-decoration-line", diff --git a/components/style/properties/shorthands/text.mako.rs b/components/style/properties/shorthands/text.mako.rs index 79f7f33d850..defbfaaf3c0 100644 --- a/components/style/properties/shorthands/text.mako.rs +++ b/components/style/properties/shorthands/text.mako.rs @@ -5,7 +5,7 @@ <%namespace name="helpers" file="/helpers.mako.rs" /> <%helpers:shorthand name="text-decoration" - engines="gecko servo-2013" + engines="gecko servo-2013 servo-2020" flags="SHORTHAND_IN_GETCS" sub_properties="text-decoration-line ${' text-decoration-style text-decoration-color text-decoration-thickness' if engine == 'gecko' else ''}"