[Webkit-unassigned] [Bug 36291] New: placeholder text should be stripped from line breaks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 18 04:23:32 PDT 2010


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

           Summary: placeholder text should be stripped from line breaks
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://dev.w3.org/html5/spec/forms.html#attr-input-pla
                    ceholder
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mounir.lamouri at gmail.com


According to the specs, the placeholder should be shown after having been
stripped from line breaks [1]. At the moment, WebKit doesn't look to do that.

A simple test:
<input placeholder="first part&#10 &#13second part"/>
You should see "first part second part" instead of "first part".

[1] "User agents should present this hint to the user, after having stripped
line breaks from it, when the element's value is the empty string and the
control is not focused (e.g. by displaying it inside a blank unfocused
control).", see $URL

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