W3C home > Mailing lists > Public > www-style@w3.org > May 2010

Re: [css3-text] CSS3 suggestion for text-underline

From: Erik Arvidsson <arv@chromium.org>
Date: Mon, 17 May 2010 14:14:39 -0700
Message-ID: <AANLkTimCFj_6RVhgwrKtBm08r0ZpmHMbpZmRt_RtuFA4@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "www-style@w3.org" <www-style@w3.org>
On Mon, May 17, 2010 at 14:08, fantasai <fantasai.lists@inkedblade.net> wrote:
>> *Perhaps something like this in CSS:*
>> text-underline-width: 1px;
>> text-underline-baseline-distance: 2px; /* depending on the fonts -
>> negative values from baseline might also be interesting. */
>> text-underline-color: red;

Another common thing is to put a wavy or dotted red line under a word
to tell the user about a spelling error. Adding text-underline-style
for that seems reasonable to me.

-- 
erik
Received on Monday, 17 May 2010 21:15:32 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:27 GMT