[Webkit-unassigned] [Bug 72524] New: offsetTop incorrect for empty inline elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 16 10:58:20 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=72524

           Summary: offsetTop incorrect for empty inline elements
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: webkitbugzilla at ksev.org


Created an attachment (id=115408)
 --> (https://bugs.webkit.org/attachment.cgi?id=115408&action=review)
Demonstrates offsetTop error in relation to display:inline vs display:block

The offsetTop value for default empty anchor and span elements is incorrect. It is typically, 0 or some lesser number than the actual offset. When the CSS display value is changed to block, the offsetTop value is correct. This does not occur in IE or Firefox.

Also, if this helps, it also happens in Konqueror (KDE 4.4.3) on Linux Fedora 11.

-- 
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