On 16/06/06, Richard Allsebrook <[EMAIL PROTECTED]> wrote:
> What I said was "The validator doesn't take the cascade into account" -
> and that is true.

No, it isn't.

An author rule (rule 1) sets a colour, but not a background colour.

Another author rule (rule 2) sets a background colour that (due to the
cascade) applies to the same element.

If this was all there was to it, then I might agree with you, but ...

There is the possibility that a user stylesheet will set a style that
(due to the cascade) also applies to the same element (rule 3).

Since the colours specified by rule 3 may take precidence over the
colours specified by rule 2, rule 2 cannot be depended upon.

Since the validator takes this (the cascade) into account, it issues a warning.

-- 
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to