[Webkit-unassigned] [Bug 24107] New: Fixed elements have 0 as an offsetLeft property
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 23 15:19:10 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=24107
Summary: Fixed elements have 0 as an offsetLeft property
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
URL: http://download.pureftpd.org/misc/bugs/webkit/fixed-
element-has-no-offsetleft.html
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: webkit at pureftpd.org
In recent webkit revisions, fixed elements always have 0 as an offsetLeft
property regardless of their actual position.
It doesn't match the behavior of IE 7, Safar 3.2.1 and Opera 10a.
<!doctype html>
<html>
<body onload="alert(document.getElementById('hop').offsetLeft);">
<div id="hop" style="position:fixed; right: 0;">Test</div>
</body>
</html>
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list