(unknown charset) Re: W3C Selectors

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 UTC