Konqueror elements position calculation fix
Reported by MadRabbit | 2009-11-12 14:57:51 UTC | in 1.5.0 Release
if an element is inside a relative positions set, like position:relative -> position:absolute, then the internal element will have only the nested position in Konqueror, so it needs to be changed so that it had the subset element position was summarized with the nested element position. like that
$('test').position() -> {x: 10, y: 10} and should be {x: 20, y: 20}
Comments and changes to this ticket
-

MadRabbit 2009-11-12 14:59:47 UTC
darn, ya.
for the previous post
<div style="position: relative; top: 10px; left: 10px"> <div id="test" style="position: absolute; top: 10px; left: 10px"> </div> </div>
-

MadRabbit 2009-11-18 16:21:01 UTC
you also need to remove the HTML offset out of the equation case it seems it doesn't count
-

MadRabbit 2009-11-24 13:45:09 UTC
- State changed from new to resolved
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.