[whatwg] Pattern Hint
ian at hixie.ch
Sat Oct 8 10:41:19 PDT 2005
On Sat, 8 Oct 2005, Matthew Raymond wrote:
> But the example text I have was for the tooltip, not for the pattern
> hint. The pattern hint might be "Format: #### #### #### ####" or "Enter
> in the full credit card number without any spaces." And this hint would
> need to be visible while the user it typing, or else they have to stop
> typing, take one hand completely off the keyboard and put it on the
> mouse, then hover the pointer over the control until the tooltip
> appears. Pattern hints, in legacy HTML at least, need to be text in the
> web page and not tooltips.
You can put whatever you want in the content itself -- why would you need
an attribute for this? I don't understand. What you're describing is
already done today and works fine in existing browsers on all media.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg