W3C home > Mailing lists > Public > www-style@w3.org > December 2016

Re: [css-text-decor-3] determining position and thickness of line decorations

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 22 Dec 2016 19:11:05 +0330
To: Lea Verou <lea@verou.me>
Cc: www-style list <www-style@w3.org>
Message-ID: <ce19364e-5bf9-6673-6d03-2868e2bf37bd@inkedblade.net>
On 07/10/2014 01:31 PM, fantasai wrote:
> On 07/04/2014 09:12 AM, Lea Verou wrote:
>> Sorry to bring up this old thread from March 24th, 2013, but it got no
>> replies and I think it raises an important issue. Authors need fine
>> grained control over text decorations and they will resort to any hack [1]
>> to get it. In [1], the author explains how they tried everything, from
>> borders to box-shadows, and ended up using gradient backgrounds (!),
>> just to be able to control the color *and thickness* of text underlines.
>> IMO there should be a 4th property in the `text-decoration` shorthand:
>> `text-decoration-width` or `text-decoration-thickness`, with values of
>> auto | <length>. `auto` would produce the current behavior and would be
>> the initial value.
> This seems like a reasonable proposal to me.

(For Level 4, to clarify, since L3 is already CR.)

Received on Friday, 23 December 2016 06:21:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:05 UTC