On Thu, Dec 4, 2008 at 6:03 PM, Mike Stay <[EMAIL PROTECTED]> wrote:
>
> On Thu, Dec 4, 2008 at 9:27 AM, Ben Laurie <[EMAIL PROTECTED]> wrote:
>>
>> On Wed, Dec 3, 2008 at 6:46 PM, Mike Stay <[EMAIL PROTECTED]> wrote:
>>>
>>> domita breaks identity of dom objects, and many jquery tests depend on
>>> it.  For example,
>>>  isSet( $("p").get(), q("firstp","ap","sndp","en","sap","first"),
>>> "Get All Elements" );
>>> Do gadgets depend on it?  If they don't, then these particular tests
>>> don't matter.
>>
>> What on earth is that testing?
>
> $("p").get() = "get all the paragraph elements"
> q("firstp","ap","sndp","en","sap","first") = "get the elements with these ids"
> isSet(x, y) = compare the sets x, y
>
> Mike Samuel says that domita should be preserving element identity
> except in some corner cases, so I need to track down what's going
> wrong.

If by "identity" you mean that if I fetch a dom element two different
ways, I should get the same object, then Mike is right. That fix went
in a few weeks ago, and is fairly heavily tested in the Prototype unit
tests...

> --
> Mike Stay - [EMAIL PROTECTED]
> http://math.ucr.edu/~mike
> http://reperiendi.wordpress.com
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to 
http://groups.google.com/group/google-caja-discuss
To unsubscribe, email [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to