Previous Message
Next Message

Re: [css-d] multiple @imports

Sent by Kevin Smith on 29 January 2002 14:02


On 01.29.2002 2:18 PM, Liorean wrote:

> As I understood it when I saw the answer to a bug in bugzilla about this,
> nothing in the CSS specifications say that @import should not overrule any
> previous @import rules, which is the standard behavior of CSS rules.

True, but @import doesn't fit the spec's definition of a 'rule'.

From <http://www.w3.org/TR/REC-CSS2/syndata.html#q8>:

    A rule set (also called "rule") consists of a selector
    followed by a declaration block.
    
    A declaration-block (also called a {}-block in the following
    text) starts with a left curly brace ({) and ends with the
    matching right curly brace (}). In between there must be a
    list of zero or more semicolon-separated (;) declarations.

    The selector (see also the section on selectors) consists of
    everything up to (but not including) the first left curly
    brace ({).

--
kevin c smith                                      tel: 410.571.9462
[EMAIL-REMOVED]                             http://www.tatnet.com
Previous Message
Next Message

Message thread: