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

Re: [css3-selectors] 6.1. Type selector

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 19 Dec 2005 06:17:20 +0000 (UTC)
To: Anne van Kesteren <annevk@opera.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <Pine.LNX.4.62.0512190614530.17886@dhalsim.dreamhost.com>

On Sun, 18 Dec 2005, Anne van Kesteren wrote:
> """A type selector represents an instance of the element type in the document
> tree."""[1]
> Shouldn't that be something along the lines of:
> # ... represents all instances of the element ...
> Same for the example.

No, it represents an instance. The instance might be a particular element 
being examined (in the case of CSS, e.g.), or it might be all of the 
instances (in the case of getElementsBySelector, e.g.), or it might be a 
hypothetical element that does not yet exist (in the case of expressions 
on the RHS of an STTS rule, e.g.).

> """A namespace prefix that has been previously declared ..."""[2]
> Shouldn't it be left to the language using Selectors which prefixes are 
> in scope?

Yes; the sentence you quote does not disagree with this (it's the language 
using Selectors that defines if the prefix is "previously declared" in 
that context or not).

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 19 December 2005 06:17:49 UTC

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