[Webkit-unassigned] [Bug 190521] New: Sizing of <input type=button> is wrong for multi-line text
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 12 09:11:03 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=190521
Bug ID: 190521
Summary: Sizing of <input type=button> is wrong for multi-line
text
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mats at mozilla.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Created attachment 352170
--> https://bugs.webkit.org/attachment.cgi?id=352170&action=review
Testcase
STEPS TO REPRODUCE
1. load the attached testcase
ACTUAL RESULTS
The first button from the left in the top row has the text:
a
b
c
This is correct, but it seems the button's height only accounted for one line.
The second button should have broken the text "a b c" into multiple lines
(since it has white-space:normal) but it displays the text on just one
line instead (and overflows).
The -webkit-appearance:none tests handles the white-space and line breaking
correctly and sizes the buttons to fit the text as expected.
(see Firefox for correct results)
BTW, the baseline alignment is also wrong, but I've filed that as
https://bugs.chromium.org/p/chromium/issues/detail?id=894849
which might cover the relevant WebKit code too.
--
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/20181012/f57202b6/attachment-0001.html>
More information about the webkit-unassigned
mailing list