W3C home > Mailing lists > Public > www-style@w3.org > January 2006

Re: comments on CSS3 Selectors from XSL Working Group

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 26 Jan 2006 14:44:16 -0800
To: "C. M. Sperberg-McQueen" <cmsmcq@acm.org>
Cc: www-style@w3.org
Message-ID: <20060126224416.GA8998@ridley.dbaron.org>
On Thursday 2006-01-26 15:28 -0700, C. M. Sperberg-McQueen wrote:
> We would also like to draw your attention to the opening
> paragraph of the abstract in that draft. It says, in part:
> 
>    Selectors have been optimized for use with HTML and XML, and
>    are designed to be usable in performance-critical code.
> 
> We object to the characterization expressed in the above
> sentence. It could be construed as implying that CSS selectors
> are somehow superior to all other forms of selection in terms of
> performance.  There is nothing in the specification to support
> this claim.  It appears to have been added solely for effect.
> Please remove.

I would object to removing this without an appropriate replacement.  I
suggest the following:

  Selectors have been optimized for testing a single HTML or XML element
  against a set of selectors rather than testing a single selector
  against a set of elements; this type of use is expected to be usable
  in performance-critical code, even when performed frequently.

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Thursday, 26 January 2006 22:44:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:42 GMT