[Webkit-unassigned] [Bug 30846] New: display: inline-block + vertical-align: text-bottom causes misalignment.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 28 01:11:35 PDT 2009


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

           Summary: display: inline-block + vertical-align: text-bottom
                    causes misalignment.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hiranotaka at google.com
                CC: yutak at chromium.org


Created an attachment (id=42005)
 --> (https://bugs.webkit.org/attachment.cgi?id=42005)
Test Case

See the attachment.
Expected: The bottom of the inline block should be aligned with the bottom of
the text.
Actual: The baseline of the inline block is aligned with the bottom of the
text.

The condition at WebCore/rendering/InlineFlowBox.cpp line 493 doesn't seem to
be enough.
!isReplaced() should be !IsReplaced() || style()->display() == INLINE_BLOCK.

yutak, could you attach the patch to this bug?

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