[Webkit-unassigned] [Bug 136332] New: Subpixel layout: Inline-block is offset from dominant baseline with em based padding

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 27 23:17:15 PDT 2014


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

           Summary: Subpixel layout: Inline-block is offset from dominant
                    baseline with em based padding
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: phiw at l-c-n.com
                CC: zalan at apple.com


Created an attachment (id=237291)
 --> (https://bugs.webkit.org/attachment.cgi?id=237291&action=review)
test case 1

An inline-block with em based padding whose computed value is *not* an integer is offset by a 2~3 px from the dominant baseline. The inline-block is positioned lower than it should be, and misaligned with the inline content that surrounds it.

In the test case: the inline-block has a light green background and a padding of 0.35em (computed value: 5.6px); the dominant baseline is represented by the red line. If I change padding to .375em, the inline-block is aligned correctly.

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