[Webkit-unassigned] [Bug 70586] New: Setting defaultValue should hide an input placeholder.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 20 23:35:19 PDT 2011


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

           Summary: Setting defaultValue should hide an input placeholder.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yosin at chromium.org


Following HTML should not should placeholder in text field:

<input type="text" placeholder="placeholder" id="t">
<script>
 document.getElementById("t").defaultValue="default";
</script>

Expect:
Text input field displays "default".

Result:
Text input field displays both "default" and "placeholder"

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