[Webkit-unassigned] [Bug 119174] New: <input type="search"> doesn't correctly handle the "size" attribute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 27 00:15:21 PDT 2013


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

           Summary: <input type="search"> doesn't correctly handle the
                    "size" attribute
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: graouts at apple.com
                CC: webkit-bug-importer at group.apple.com


Created an attachment (id=207579)
 --> (https://bugs.webkit.org/attachment.cgi?id=207579&action=review)
Testcase

Per http://www.w3.org/html/wg/drafts/html/master/forms.html#the-size-attribute, the "size" attribute should make it so that the user agent ensures the minimal display of the number of characters specified in the search field. However, the padding due to the rounded corners, the display of the magnifying glass to the left and potentially the clear button to the right don't seem to be taken into account and an <input type="text" size="20"> and an <input type="search" size="20"> are rendered with the same size even though fewer characters are visible to the user in the <input type="search"> case.

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



More information about the webkit-unassigned mailing list