[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
Mon May 29 08:11:08 PDT 2023


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

--- Comment #7 from zalan <zalan at apple.com> ---
1. hasControlClip was initially added at 19393 at main to specifically clip overflowing magnifier glass/cancel button in search fields ( hasControlClip() const { return m_cancelButton; })

2. 79370 at main slightly changed behavior by switching over to checking !!containerElement(). It expands clipping for other, single line text field types like password -anything with container based shadow DOM (not just a simple contenteditable inside input)

which introduced some inconsistencies

<style>
input {
  font-size: 38px;
  height: 20px;
}
</style>
<input type="password" placeholder="this is clipped">
<input type="text" placeholder="this is NOT clipped">

-- 
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/20230529/c773d1ef/attachment.htm>


More information about the webkit-unassigned mailing list