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

On Wed, Nov 12, 2014 at 5:01 AM, Tavmjong Bah <> 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