[Webkit-unassigned] [Bug 56768] New: Placeholder functionality should trim the input value on blur.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 21 13:54:28 PDT 2011


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

           Summary: Placeholder functionality should trim the input value
                    on blur.
           Product: WebKit
           Version: 523.x (Safari 3)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bertrand.design at gmail.com


If you type " " one space and Tab off the input field, then the placeholder value is not redrawn. 
If you paste line-breaks or Tabs into an input field, the placeholder value is not redrawn when the input loses focus. 

I cannot think of an edge case where an input or search box with placeholder text would want to accept extra whitespace characters as part of the input or query. 

After a user types, pastes or otherwise inputs their characters into an INPUT tag with a "placeholder" attribute, the placeholder functionality should trim leading and trailing whitespace before comparing it to the placeholder value.

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