[Webkit-unassigned] [Bug 16789] New: Problem of using "size" attribute to determine width of text input field

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 8 19:04:25 PST 2008


           Summary: Problem of using "size" attribute to determine width of
                    text input field
           Product: WebKit
           Version: 523.x (Safari 3)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yuzhu.shen at gmail.com

When using "size" attribute to determine the width of text input field, "its
value refers to the (integer) number of characters" (HTML 4.0.1). Webkit
(Safari 3.0.4 / 523.15) multiplies character width with this "size" value to
determine the width, while IE & FF seem to use a non-linear algorithm.

The html file in the attachment illustrates the difference between these
browsers, please view it in various browsers and observe the width of the input

This problem affects many popular Chinese websites. For example: (Please refer
to the attachment for snapshot.)


Configure bugmail: http://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