CLOSED FIXED 8141
REGRESSION: Native text field fails to wrap inside table
https://bugs.webkit.org/show_bug.cgi?id=8141
Summary REGRESSION: Native text field fails to wrap inside table
Chris Petersen
Reported 2006-04-02 14:26:27 PDT
I spotted a issue at http://www.midwestairlines.com/MAWeb/ when the native input filed wasn't rendered underneath the User ID text. I have reduced this issue to a table that contains text and <input=text>. The table has a specified width of "35" pixels and the input element has style="width: 30px;" applied . The input is inline with some text so I was expecting it to wrap to second line based on the width of the table. Instead , the table appears much wider than expected. This seems to be caused by the native text field even though it's border isn't this wide. See screen shot. I included a DIV element with the same setting as the table as a comparsion. The input element and text in DIV wrap correctly as expected.
Attachments
screen shot of issue using latest webkit (5.50 KB, image/png)
2006-04-02 14:29 PDT, Chris Petersen
no flags
reduced test case (490 bytes, text/html)
2006-04-02 14:30 PDT, Chris Petersen
no flags
Chris Petersen
Comment 1 2006-04-02 14:29:04 PDT
Created attachment 7467 [details] screen shot of issue using latest webkit
Chris Petersen
Comment 2 2006-04-02 14:30:29 PDT
Created attachment 7468 [details] reduced test case
Chris Petersen
Comment 3 2006-04-02 14:36:04 PDT
Steps to reproduce: 1) With TOT Webkit, open the attached test case "midwest_2.html" 2) Notice the difference between the table and div. The text field (dashed border) in the table should wrap down to the next line but doesn't. This is a gap between the right side of the text field and right border of the table.
Chris Petersen
Comment 4 2006-04-02 14:51:11 PDT
This is filed as <rdar://problem/4499274>
Maciej Stachowiak
Comment 5 2006-04-02 23:25:45 PDT
These are all text field regressions so they should all be P1.
Adele Peterson
Comment 6 2006-04-03 18:27:40 PDT
I'm working on fixing calcMinMaxWidth, which will fix this bug.
Darin Adler
Comment 7 2006-04-03 21:11:38 PDT
Assigning to Adele, since she's working on it.
Chris Petersen
Comment 8 2006-04-07 15:31:03 PDT
Verified as fixed with latest TOT Webkit (04/09/2006)
Chris Petersen
Comment 9 2006-04-07 15:31:26 PDT
Verified as fixed with latest TOT Webkit (04/07/2006)
Chris Petersen
Comment 10 2006-04-07 15:31:53 PDT
Closing.
Note You need to log in before you can comment on or make changes to this bug.