[Webkit-unassigned] [Bug 68337] New: Images inside relatively-positioned links have incorrect offsetTop values
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 19 01:02:57 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=68337
Summary: Images inside relatively-positioned links have
incorrect offsetTop values
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
URL: http://advancedcontrols.com.au/w.html
OS/Version: Linux
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mrj at advancedcontrols.com.au
The test URL has an image inside a link followed by a sized div inside a link. Each link is relatively positioned, and scripts are used to print the relative vertical position of each link with respect to its content block (image or div), via the content's offsetTop value.
Google Chrome Beta 14.0.835.163 (Webkit 91698, 07/25/2011) gives incorrect values of 0 for the first and 203 for the second (image attached). The value does not change if a vertical align setting changes the relative positions of the link and its content.
Firefox 6.0.1 gives the correct value of -37 for the first and an incorrect 0 for the second.
Internet Explorer 8 gives correct values of 2 and 21.
--
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