[whatwg] Placeholder option for text input boxes
christoph.paeper at crissov.de
Tue Sep 30 15:21:30 PDT 2008
Tab Atkins Jr.:
> 1) @placeholder
> Con: Duplicates semantics already present in <label>, (...)
That could be circumvented by combining the two:
<label>Foo <input type=text placeholder></label>
<label>Foo <input type=text placeholder="Bar"></label>
A similar observation as for |results|, concerning "binary"
attributes, applies. Also I think the (textual) content of |label| is
too hard to push into a placeholder text, because it may include all
kinds of markup and style that it should or should not retain.
> 2) @alt
Non-interactive UAs might choose to use |alt| instead of rendering
More information about the whatwg