See http://dev.rubyonrails.org/ticket/8609 for the related ticket in the
issue tracker.

On 6/30/07, pkp9774 <[EMAIL PROTECTED]> wrote:
>
>
> I was trying to use .down('h2') this morning and found out that it
> will not work with elements which are not a part of the DOM (created
> in memory but not added to the document).  After tracing through the
> code I see that it takes a rather unique approach.
>
> >From best I can tell it will match the selector against the whole
> document, mark all that matched the selector and then do a compare
> against the descendants of the original .down() member.  Rather
> unique, I was wondering why this method was used instead of using just
> the elements of the original .down() member?
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to