W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2005

[whatwg] Pattern Hint

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 8 Oct 2005 17:41:19 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0510081739500.23945@dhalsim.dreamhost.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 8 October 2005 10:41:19 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:43 UTC