[Webkit-unassigned] [Bug 167209] Safari input elements don't respect line-heights smaller than 'normal'.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 27 21:25:33 PDT 2023


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

--- Comment #2 from zalan <zalan at apple.com> ---
Sadly RenderTextControlSingleLine does no support cases with layout overflow.
The attached test case sets the height of the input box to 0.9em causing layout overflow. Even if the inner renderer wascentered, since RenderTextControlSingleLine does not support proper clipping, text would simply spill out of the input box (on trunk, placeholder text already overflows :(
it requires
1, centering
2, loosening up on the height cap on the inner renderer (see desiredLogicalHeight in RenderTextControlSingleLine::layout)
3, adding clipping support

(see attached screen recordings)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230528/2c1c3d11/attachment.htm>


More information about the webkit-unassigned mailing list