[Webkit-unassigned] [Bug 26804] Line Feed in input value attribute moves text out of button

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 7 04:42:17 PDT 2022


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

--- Comment #4 from Vitor Roriz <vitor.roriz at apple.com> ---
BaseButtonInputType::createRenderer instantiates a RenderButton.
RenderButton is a RenderFlexibleBox that holds a RenderTextFRagment (which is a RenderText) to represent the test set as 'value' in the input.

For a case where we have a 'value' with 2 lines, RenderFlexibleBox::layoutAndPlaceChildren is calculating the correct height for the multiple lines. Actually, the children (lines) are painted correctly.

However, the height of the input (RenderFlexibleBox) itself is not updated accordingly.

-- 
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/20220907/8022dc54/attachment.htm>


More information about the webkit-unassigned mailing list