[Webkit-unassigned] [Bug 15312] WebKit applies an incorrect min width for <input type="text"> fields

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 15 15:56:33 PDT 2008


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





------- Comment #22 from hyatt at apple.com  2008-07-15 15:56 PDT -------
(From update of attachment 21965)
Oh, I see you did this for Windows only.  

I really dislike that you added 2 members to SimpleFontData on every platform,
but then only use them on Windows.  I also don't like treating "0" for
avgCharWidth as "unset."

Character widths should also be float-based (the fact that Windows rounds is a
platform-specific characteristic not shared by other platforms necessarily).

Why not get the width of 0 for the other platforms?  Then you don't have to
special case the RenderTextControl code.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list