Re: [CSS21] Status of defult (intrinsic) style sheet in UA

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