#1001 ✓duplicate
djokodonev

element.clonePosition

Reported by djokodonev | March 2nd, 2010 @ 12:33 AM

There an error issued in IE 6, 7, 8

in both element.clonePosition and Position.clone

There is a solution though and i have successfully implemented it:

http://dev.rubyonrails.org/attachment/ticket/11473/getOffsetParent_...

so that it is clear.

I am not sure if the solution provided is in order with everything else in the prototype, but i decided to post it.

Comments and changes to this ticket

  • Tobie Langel

    Tobie Langel March 2nd, 2010 @ 12:52 AM

    • State changed from “new” to “duplicate”

    There's a lot of openend tickets about this issue, closing as duplicate.

    Also, there's been a lot of changes in master branch recently.

    I'm closing this ticket as duplicate.

    If you want to help, please have a look at the other tickets and the new implementation in master branch and see if there are still any issues.

    Thanks for taking the time to contribute.

  • Tisho Georgiev

    Tisho Georgiev March 2nd, 2010 @ 09:15 AM

    • Tag changed from element.cloneposition, position.clone to section:dom

    I can confirm that the error no longer gets thrown on IE 6/7/7 Compat./8, using prototype from master. That said, clonePosition seems to still be broken IE 6/7/7 Compat, because it fails to account for margin when figuring out the resulting position.

  • djokodonev

    djokodonev March 2nd, 2010 @ 02:19 PM

    I would certainly like to help, a bit stupid maybe but "new implementation in master branch" - you mean the newly developed 1.7 prototype or :-). Anyways, where can i find it?

    Sorry if I sound stupid.

    best regards!

  • Tobie Langel

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Prototype JavaScript library.

Shared Ticket Bins

Pages