NEW123952
Fix inline-block baseline with overflow: <not visible>
https://bugs.webkit.org/show_bug.cgi?id=123952
Summary Fix inline-block baseline with overflow: <not visible>
Ryosuke Niwa
Reported 2013-11-06 20:57:59 PST
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)
Attachments
Han
Comment 1 2016-06-06 14:56:14 PDT
This appears to be a duplicate of https://bugs.webkit.org/show_bug.cgi?id=36084
Note You need to log in before you can comment on or make changes to this bug.