W3C home > Mailing lists > Public > www-style@w3.org > November 2014

Re: [css-text-decor] Shorthand behavior for 'text-decoration'

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 12 Nov 2014 12:15:25 -0800
Message-ID: <CAAWBYDCHe3aPB0yGrysj2ik3qChCHA_Qk8WYDeeZr4J+Jbx8vw@mail.gmail.com>
To: Tavmjong Bah <tav.w3c@gmail.com>
Cc: "www-style@w3.org" <www-style@w3.org>
On Wed, Nov 12, 2014 at 5:01 AM, Tavmjong Bah <tav.w3c@gmail.com> wrote:
> At the joint CSS/SVG meeting at TPAC we agreed to add the properties
> 'text-decoration-fill' and 'text-decoration-stroke' which apply to both
> SVG and HTML.[1] We discussed having 'text-decoration-color' be a
> shorthand that sets 'text-decoration-fill' to to its value and
> 'text-decoration-stroke' to none.
> Question: How does the shorthand 'text-decoration' behave?
> The easiest and most straight-forward option is to restrict the
> shorthand to setting a single color value for the fill (and the value
> none for the stroke). Anything more complicated should be set by the
> long-hand properties (recall that in SVG, a fill or stroke takes a
> <paint> which can have multiple layers[2]).


Received on Wednesday, 12 November 2014 20:16:13 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:26 UTC