W3C home > Mailing lists > Public > www-style@w3.org > February 2001

(unknown charset) Re: W3C Selectors

From: (unknown charset) Ian Hickson <ian@hixie.ch>
Date: Thu, 15 Feb 2001 03:26:19 -0800 (Pacific Standard Time)
To: (unknown charset) Daniel Glazman <glazman@netscape.com>
cc: (unknown charset) Bjoern Hoehrmann <derhoermi@gmx.net>, <www-style@w3.org>
Message-ID: <Pine.WNT.4.31.0102150325190.1248-100000@HIXIE.netscape.com>
On Thu, 15 Feb 2001, Daniel Glazman wrote:
> > 6.6.6
> >
> > I'd suggest adding a warning, that the selector may match even if you
> > don't want it to, like
> >
> > 	ul:contains('chief')
> >
> > matches to
> >
> > 	<ul>
> > 	  <li>... the greek letter chi</li>
> > 	  <li>effective...</li>
> > 	</ul>
>
> woooof. very very good point.... In fact, such a selector should match
> text over multiple block-level elements, but I guess it is not something
> we can specify easily. I mean it is hard to make the selector depend on the
> value of the 'display' property... Hmm. I am going to push this issue to
> the WG. Thanks a lot, Björn.

Actually, in the above case it would not, however the problem does occur
with the slightly less readable:

   <ul><li>... the greek letter chi</li><li>effective...</li></ul>

-- 
Ian Hickson                                     )\     _. - ._.)       fL
Netscape, Standards Compliance QA              /. `- '  (  `--'
+1 650 937 6593                                `- , ) -  > ) \
irc.mozilla.org:Hixie _________________________  (.' \) (.' -' __________
Received on Thursday, 15 February 2001 06:25:52 GMT

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