Re: Problems/Question with Cougar
Hakon Lie (howcome@w3.org)
Tue, 27 Aug 1996 02:01:16 +0200
Date: Tue, 27 Aug 1996 02:01:16 +0200
Message-Id: <199608270001.CAA12197@www4.inria.fr>
To: I.End@bigpic.com
Cc: www-html@w3.org
Subject: Re: Problems/Question with Cougar
In-Reply-To: <22143006300129@cjnet.com>
From: Hakon Lie <howcome@w3.org>
Imagination's End writes:
> > TD { background : red }
> > in my style sheet, and <TD BGCOLOR="blue"> in my table, which color
> > should this table cell get?
>
> That makes senses, but, what happens if you have:
>
> <TD STYLE=" TD { background: red }" BGCOLOR="blue">
>
> What color SHOULD the cell get.
The background should be red. This is covered in [1]:
"The UA may choose to honor other stylistic attributes (e.g. 'ALIGN')
as if a 'STYLE' attribute had been used. When in conflict with other
stylistic attributes, the 'STYLE' attribute should win."
[1] http://www.w3.org/pub/WWW/TR/WD-css1#cascading-order
Regards,
-h&kon
Hakon W Lie, W3C/INRIA, Sophia-Antipolis, France
http://www.w3.org/people/howcome howcome@w3.org