Re: [CSS text-decoration] initial value

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.

~TJ

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