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

Re: [CSS text-decoration] initial value

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 9 May 2012 01:27:07 +0200
Message-ID: <CAAWBYDCh4uR-nL9DQwpFTFpS0A8zH_JoKBoYaAj8K+aJURWYRg@mail.gmail.com>
To: Rik Schaaf <coolcat_the_best@hotmail.com>
Cc: "www-style@w3.org" <www-style@w3.org>
On Wed, May 9, 2012 at 1:24 AM, Rik Schaaf <coolcat_the_best@hotmail.com> wrote:
> The spec says that the initial value of text-decoration is none for all elements, but what about the initial value of text-decoration of an 'a' tag? Those are underlined by default. Does this mean that there's an error in the spec?
> http://www.w3.org/TR/CSS2/text.html#propdef-text-decoration

No, those sorts of things are handled in the default UA stylesheet,
which sets an "a { text-decoration: underline; }" rule.

Received on Tuesday, 8 May 2012 23:27:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:16 UTC