Hi again, sorry for reposting

On 10/6/06, Arnar Birgisson <[EMAIL PROTECTED]> wrote:
> It supports sub-element selecting (like "div#form input") but not
> other combinators (E > F, E+ F, E~ F) - although I think they could be
> added.

Turns out this was not too hard. Here's an updated version that
supports >, + and ~ combinators as per the CSS3 spec.

Arnar


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---
Title: untitled

Demo

Test originally from this blog entry.

Here are some links in a normal paragraph: Google, Google Groups. This link has class="blog": diveintomark

Everything inside the red border is inside a div with id="foo".

This is a normal link: Yahoo

This a is not inside a p

This link has class="blog": Simon Willison's Weblog

This link is inside a span, not directly child of p

Nonninn

Sniðugt

Attachment: Selector.js
Description: JavaScript source

Reply via email to