- From: L. David Baron <dbaron@dbaron.org>
- Date: Tue, 22 Nov 2005 20:27:38 -0800
- To: www-style@w3.org
- Message-ID: <20051123042738.GA6198@ridley.dbaron.org>
On Tuesday 2005-11-22 20:19 -0800, Andrew Fedoniouk wrote:
> From: "Boris Zbarsky" <bzbarsky@mit.edu>
> >Andrew Fedoniouk wrote:
> >>If we need all five style systems behave as one table
> >>then why just not to add into
> >>[http://www.w3.org/TR/CSS21/cascade.html#specificity]
> >>one more "digit" into "a-b-c-d" ?
> >
> >That could indeed be done (and is in fact more or less what the "inline
> >style rule" digit is)...
>
> Yep. For the terms of formal specification this will work better.
Actually, it won't, since other things such as presentational attributes
and DOM CSS's override style fit themselves in at a certain point in the
weight/order sort. In other words, non-CSS sources of style data fit at
points within that sort, but not within the specificity sort. (And they
should probably be listed there too.)
-David
--
L. David Baron <URL: http://dbaron.org/ >
Technical Lead, Layout & CSS, Mozilla Corporation
Received on Wednesday, 23 November 2005 04:29:24 UTC