W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2011

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

From: Aryeh Gregor <Simetrical+w3c@gmail.com>
Date: Wed, 22 Jun 2011 17:05:27 -0400
Message-ID: <BANLkTi=2rbA7HT9GzLt_3kqMKidjOqByOg@mail.gmail.com>
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.
Received on Wednesday, 22 June 2011 14:05:27 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:06 UTC