[Webkit-unassigned] [Bug 142968] [Flexbox] align-items: baseline on empty input element causes alignment to bottom of element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 8 06:33:52 PST 2023


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

nicolas at fairjungle.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicolas at fairjungle.com

--- Comment #8 from nicolas at fairjungle.com ---
I'm able to reproduce the problem with a placeholder, after entering text and then removing it. Each time the content is completely removed, the alignment is at bottom. 

It's weird, it behaves like the font baseline information is lost when the last character is removed, even though the placeholder is displayed.

<div style="display: flex; align-items: baseline">
  <span>aligned baseline ? </span>
  <input value="" style="vertical-align: baseline" placeholder="should be !">
</div>

-- 
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/20231208/10ba9bc8/attachment.htm>


More information about the webkit-unassigned mailing list