This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 14947 - Is the placeholder attribute only allowed on textual fields? If not, is there a specific way UAs are expected to show the value on non-textual fields?
Summary: Is the placeholder attribute only allowed on textual fields? If not, is there...
Status: RESOLVED WORKSFORME
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-28 12:13 UTC by contributor
Modified: 2012-07-18 18:42 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2011-11-28 12:13:01 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html
Multipage: http://www.whatwg.org/C#the-placeholder-attribute
Complete: http://www.whatwg.org/c#the-placeholder-attribute

Comment:
Is the placeholder attribute only allowed on textual fields? If not, is there
a specific way UAs are expected to show the value on non-textual fields?

Posted from: 188.64.201.31
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.41 Safari/535.7
Comment 1 Ian 'Hixie' Hickson 2011-12-07 23:47:16 UTC
It applies to Text, Search, URL, Telephone, E-mail, Password, and Number fields.