[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
Thu Jun 26 18:54:27 PDT 2008


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


ovafai at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21965|                            |review?
               Flag|                            |




------- Comment #16 from ovafai at gmail.com  2008-06-26 18:54 PDT -------
Created an attachment (id=21965)
 --> (https://bugs.webkit.org/attachment.cgi?id=21965&action=view)
patch to match IE's width

IE does the following for width of text controls (FF mostly matches this, but
not exactly):
Text inputs: avgCharWidth * size + (maxCharWidth - avgCharWidth)
Textareas: avgCharWidth * cols

As the changelog in the patch says, this makes WebKit exactly match IE for GDI
fonts (I don't have access to CG hooks for avgCharWidth/maxCharWidth). There's
still 2 extra pixels in WebKit that I explain in more detail in the changelog.


-- 
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