W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] input type="url" allow URLs without http:// prefix

From: Bruce Lawson <brucel@opera.com>
Date: Mon, 13 Jul 2009 08:52:29 +0100
Message-ID: <op.uwzxhmfgh8on37@bruce-pc>
On Sun, 12 Jul 2009 15:48:51 +0100, Kornel Lesinski <kornel at geekhood.net>  
wrote:

> On Sun, 12 Jul 2009 09:46:19 +0100, Bruce Lawson <brucel at opera.com>  
> wrote:
>
I'd like to suggest that input
>> type="url" allows the http:// prefix to be optional on input and, if  
>> ommitted, be assumed when parsing.
>
> The spec explicitly allows that actual value seen and edited by the user  
> in the interface is different from DOM value of the input, so browsers  
> are free to prepend http:// automatically (and IMHO should ? DSK-253195).


Excellent. And, while I don't doubt you at all, I'm abashed that I missed  
that nuance, especially as it'#s explicitly allowed?  Where would I find  
that in the spec?



-- 
Hang loose and stay groovy,

Bruce Lawson
Web Evangelist
www.opera.com (work)
www.brucelawson.co.uk (personal)
Received on Monday, 13 July 2009 00:52:29 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC