Konqueror elements position calculation fix
Reported by MadRabbit | November 12th, 2009 @ 02:57 PM | 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 November 12th, 2009 @ 02:59 PM
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 November 18th, 2009 @ 04:21 PM
you also need to remove the HTML offset out of the equation case it seems it doesn't count
-
MadRabbit November 24th, 2009 @ 01:45 PM
- 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.