W3C home > Mailing lists > Public > www-style@w3.org > January 2015

Re: [css-text] Enhanced underline options

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sun, 25 Jan 2015 17:54:35 -0500
Message-ID: <54C5742B.608@inkedblade.net>
To: www-style@w3.org
On 12/16/2014 08:17 PM, Tab Atkins Jr. wrote:
> On Tue, Dec 16, 2014 at 5:05 PM, Bobby Mozumder <mozumder@futureclaw.com> wrote:
>> spacing-color would colorize the spacing from the baseline to the underline.
>
> Ah, *that's* what you mean by spacing!  In that case, the
> underline-spacing-width suggestion is already in the spec, via the
> text-decoration-position property.

Actually, text-decoration-position is really about which side of the
text the underline shows up on. (Needed for vertical text.)

There have been requests for control over the offset, though, so we
might add text-decoration-offset in the next level. I'm currently
thinking it should just take percentages, so that it scales with the
font size.

Likewise, text-decoration-width would need to be added; it's not in
L3.

~fantasai
Received on Sunday, 25 January 2015 22:55:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:51:56 UTC