[whatwg] What it means for attributes of <input> to apply or not apply

Aryeh Gregor Simetrical+w3c at gmail.com
Wed Jun 22 14:05:27 PDT 2011


On Wed, Jun 22, 2011 at 11:50 AM, Edward O'Connor <eoconnor at apple.com> wrote:
> The second bit ("does not apply to the element"), however, isn't clear.
> Is it a UA conformance requirement? What does it mean? I *think* it
> means that the placeholder="" attribute has no effect on the rendering
> of <input type=range>. Does it also mean that the placeholder="" content
> attribute shouldn't be reflected as an IDL attribute on <input> elements
> of type=range? In Safari 5, Firefox 4, and Opera 11, placeholder="" gets
> reflected as an IDL attribute, regardless of the value of type="".

It's reflected regardless of the type:

http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#dom-input-placeholder

"does not apply to the element" could use clarification, though.



More information about the whatwg mailing list