html5/spec Overview.html,1.1540,1.1541

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv2610

Modified Files:
	Overview.html 
Log Message:
WF2: Allow UAs to auto-escapify data entered for type=url. (whatwg r2369)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1540
retrieving revision 1.1541
diff -u -d -r1.1540 -r1.1541
--- Overview.html	28 Oct 2008 01:12:58 -0000	1.1540
+++ Overview.html	28 Oct 2008 06:36:17 -0000	1.1541
@@ -19689,10 +19689,14 @@
   agent should allow the user to change the URL represented by its
   <a href=#concept-fe-value title=concept-fe-value>value</a>. User agents may allow
   the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a
-  string that is not a <a href=#valid-url>valid URL</a>. User agents should
-  allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string. User
-  agents must not allow users to insert U+000A LINE FEED (LF) or
-  U+000D CARRIAGE RETURN (CR) characters into the <a href=#concept-fe-value title=concept-fe-value>value</a>.<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
+  string that is not a <a href=#valid-url>valid URL</a>, but may also or instead
+  automatically escape characters entered by the user so that the
+  <a href=#concept-fe-value title=concept-fe-value>value</a> is always a <a href=#valid-url>valid
+  URL</a> (even if that isn't the actual value seen and edited by
+  the user in the interface). User agents should allow the user to set
+  the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty
+  string. User agents must not allow users to insert U+000A LINE FEED
+  (LF) or U+000D CARRIAGE RETURN (CR) characters into the <a href=#concept-fe-value title=concept-fe-value>value</a>.<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
   specified, must have a value that is a <a href=#valid-url>valid URL</a>.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
   follows:</strong> <a href=#strip-line-breaks>Strip line breaks</a> from the <a href=#concept-fe-value title=concept-fe-value>value</a>.<p><strong>Constraint validation:</strong> While the <a href=#concept-fe-value title=concept-fe-value>value</a> of the element is not a
   <a href=#valid-url>valid URL</a>, the element is <a href=#suffering-from-a-type-mismatch>suffering from a type

Received on Tuesday, 28 October 2008 06:36:30 UTC