[Webkit-unassigned] [Bug 68337] Images inside relatively-positioned links have incorrect offsetTop values
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 19 01:13:31 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=68337
--- Comment #2 from Mark James <mrj at advancedcontrols.com.au> 2011-09-19 01:13:31 PST ---
Note that a workaround for the image offset is
navigator.userAgent.indexOf('AppleWebKit/') >= 0 ?
img.getBoundingClientRect().top-img.parentNode.getBoundingClientRect().top :
img.offsetTop
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list