[Webkit-unassigned] [Bug 123952] New: Fix inline-block baseline with overflow: <not visible>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 6 20:59:12 PST 2013


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

           Summary: Fix inline-block baseline with overflow: <not visible>
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: BlinkMergeCandidate
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: hyatt at apple.com, bdakin at apple.com,
                    simon.fraser at apple.com, dino at apple.com,
                    mmaxfield at apple.com


Consider merging https://src.chromium.org/viewvc/blink?revision=155341&view=revision

Fix inline-block baseline with overflow: <not visible>

They should align to the bottom of the margin box.
   The baseline of an 'inline-block' is the baseline of its last line
   box in the normal flow, unless it has either no in-flow line boxes or
   if its 'overflow' property has a computed value other than 'visible',
   in which case the baseline is the bottom margin edge.

and

https://chromium.googlesource.com/chromium/blink/+/581c77f25abb3fdfbbbb4e55fdaa5218245c3c32

r155341 (https://codereview.chromium.org/21414002) made us follow the
CSS spec for the alignment of overflow: hidden; in combination with
display: inline-block;. Unfortunately, that had the side-effect of
changing the baselines for <input> elements, because we internally
implement them as inline-blocks. This CL overrides the baseline
computation so that they align the same way with or without overflow.

(NOTE: Any websites that were broken by this can fix it by just removing
overflow: hidden, because it has no effect on <input> elements)

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