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

[whatwg] Pattern Hint

From: Matthew Raymond <mattraymond@earthlink.net>
Date: Sat, 08 Oct 2005 18:05:13 -0400
Message-ID: <43484299.50606@earthlink.net>
Ian Hickson wrote:
> 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.

   My argument isn't that |title| can't contain pattern hints. What I
object to is designing HTML5 so that |title| is the only thing that can
be used for pattern hints on legacy browsers.

   Note that I do not support the use of an attribute for pattern hints.
This clearly doesn't degrade gracefully. (See <altinput>.)
Received on Saturday, 8 October 2005 15:05:13 UTC

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