W3C home > Mailing lists > Public > www-style@w3.org > November 2005

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 22 Nov 2005 17:36:06 -0600
Message-ID: <4383AB66.1090600@mit.edu>
To: Andrew Fedoniouk <news@terrainformatica.com>
CC: Simon Pieters <zcorpan@hotmail.com>, www-style@w3.org

Andrew Fedoniouk wrote:
> The document you mentioned tells different story:

Not really, no.

> "User agent: Conforming user agents must apply a default style sheet (or behave 
> as if they did) prior to all other style sheets for a document....."


> There is no mentioning about the weight or so.

You didn't read far enough.  See section 6.4.1, which says:

   # Sort by importance (normal or important) and origin (author, user,
   or user agent). In ascending order:

     1. user agent style sheets
     2. user normal style sheets
     3. author normal style sheets
     4. author important style sheets
     5. user important style sheets

> As far as I understand it: these two systems of styles are completely
> independent

All that happens is that any user or author origin rule automatically 
"beats" any ua (not !important) rule.

> so weights or specificity of their elements are isolated from
> each other.

Yes, but their interaction is quite well-defined.  So I'm not sure what 
you want as a clarification here.

Received on Tuesday, 22 November 2005 23:36:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:21 UTC