W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2011

[Bug 13173] WF2: <input type="url"> should accept URLs with protocol omitted

From: <bugzilla@jessica.w3.org>
Date: Mon, 11 Jul 2011 01:14:13 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Qg54f-0001zF-2T@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13173

--- Comment #17 from Marat Tanalin <mtanalin@yandex.ru> 2011-07-11 01:14:11 UTC ---
To summarize just in case:

1. Protocol in <input type="url"> should be optional. E.g., "example.com"
should be considered valid value, user should not be forced to type
"http://example.com". The behavior may be controlled by using a boolean
attribute such as type-protocol-required or type-protocol-optional (see comment
4). (type-protocol-optional may be more backwards-compatible with existing
HTML5 implementations since most of them require protocol to be typed
explicitly.)

2. It is desirable (though not required) that browser submits (as well as
returns with JavaScript) exact string value as typed by user, as this provides
more flexibility for web-developer.

3. If browser autocorrects URL before submit (by autoadding protocol if user
has omitted it), then default protocol should be "http://".

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 11 July 2011 01:14:18 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:13 UTC