W3C home > Mailing lists > Public > www-style@w3.org > February 2013

Re: [CSS3] [text-decor] text-decoration-line: none

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 14 Feb 2013 12:57:45 -0800
Message-ID: <CAAWBYDCk4CsUW5HWt_EyMPeuSc6N2-egWhs39xPjmoKBVR6wkw@mail.gmail.com>
To: "www-style@gtalbot.org" <www-style@gtalbot.org>
Cc: W3C www-style Mailing List <www-style@w3.org>
On Thu, Feb 14, 2013 at 12:17 PM, "Gérard Talbot" <www-style@gtalbot.org> wrote:
> Hello,
>
> CSS Text Decoration Module Level 3
> Section 2.1. Text Decoration Lines: the ‘text-decoration-line’ property
> http://www.w3.org/TR/css-text-decor-3/#text-decoration-line-property
>
> states
>
> "
> Name:   text-decoration-line
> Value:  none | [ underline || overline || line-through || blink ]
>
> (...)
>
> ‘none’
>     Neither produces nor inhibits text decoration.
> "
>
>
> I do not understand the "nor inhibits text decoration" part. FYI, CSS 2.1
> was only stating:
>
> "
> none
>     Produces no text decoration.
> "
> http://www.w3.org/TR/CSS21/text.html#decoration

If an ancestor has a text decoration that would apply to the element,
"none" doesn't wipe it out.  It simply doesn't create any new
decorations.

~TJ
Received on Thursday, 14 February 2013 20:58:39 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:05 GMT