[html5] r2615 - [o] (2) WF2: make <input type=url> require absolute URLs. (bug 6300)

whatwg at whatwg.org whatwg at whatwg.org
Mon Dec 29 15:34:52 PST 2008


Author: ianh
Date: 2008-12-29 15:34:51 -0800 (Mon, 29 Dec 2008)
New Revision: 2615

Modified:
   index
   source
Log:
[o] (2) WF2: make <input type=url> require absolute URLs. (bug 6300)

Modified: index
===================================================================
--- index	2008-12-29 23:24:21 UTC (rev 2614)
+++ index	2008-12-29 23:34:51 UTC (rev 2615)
@@ -23980,7 +23980,7 @@
      <td> Search field
     <tr><td> <dfn id=attr-input-type-url-keyword title=attr-input-type-url-keyword><code>url</code></dfn>
      <td> <a href=#url-state title=attr-input-type-url>URL</a>
-     <td> An IRI
+     <td> An absolute IRI
      <td> A text field
     <tr><td> <dfn id=attr-input-type-email-keyword title=attr-input-type-email-keyword><code>email</code></dfn>
      <td> <a href=#e-mail-state title=attr-input-type-email>E-mail</a>
@@ -25148,30 +25148,30 @@
   section apply.</p>
 
   <p>The <code><a href=#the-input-element>input</a></code> element represents a control for editing a
-  single <a href=#url>URL</a> given in the element's <a href=#concept-fe-value title=concept-fe-value>value</a>.</p>
+  single <a href=#absolute-url>absolute URL</a> given in the element's <a href=#concept-fe-value title=concept-fe-value>value</a>.</p>
 
   <p>If the is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>, the user
   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>, 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>
+  string that is not a <a href=#valid-url title="valid URL">valid</a>
+  <a href=#absolute-url>absolute 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 title="valid
+  URL">valid</a> <a href=#absolute-url>absolute 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>
 
   <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>
+  specified, must have a value that is a <a href=#valid-url title="valid
+  URL">valid</a> <a href=#absolute-url>absolute URL</a>.</p>
 
   <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>
 
-  <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
-  mismatch</a>.</p>
+  <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 title="valid URL">valid</a> <a href=#absolute-url>absolute URL</a>, the
+  element is <a href=#suffering-from-a-type-mismatch>suffering from a type mismatch</a>.</p>
 
   <div class=bookkeeping>
 

Modified: source
===================================================================
--- source	2008-12-29 23:24:21 UTC (rev 2614)
+++ source	2008-12-29 23:34:51 UTC (rev 2615)
@@ -26689,7 +26689,7 @@
     <tr>
      <td> <dfn title="attr-input-type-url-keyword"><code>url</code></dfn>
      <td> <span title="attr-input-type-url">URL</span>
-     <td> An IRI
+     <td> An absolute IRI
      <td> A text field
     <tr>
      <td> <dfn title="attr-input-type-email-keyword"><code>email</code></dfn>
@@ -28014,34 +28014,37 @@
   section apply.</p>
 
   <p>The <code>input</code> element represents a control for editing a
-  single <span>URL</span> given in the element's <span
+  single <span>absolute URL</span> given in the element's <span
   title="concept-fe-value">value</span>.</p>
 
   <p>If the is <i title="concept-input-mutable">mutable</i>, the user
   agent should allow the user to change the URL represented by its
   <span title="concept-fe-value">value</span>. User agents may allow
   the user to set the <span title="concept-fe-value">value</span> to a
-  string that is not a <span>valid URL</span>, but may also or instead
-  automatically escape characters entered by the user so that the
-  <span title="concept-fe-value">value</span> is always a <span>valid
-  URL</span> (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 <span title="concept-fe-value">value</span> 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 <span
+  string that is not a <span title="valid URL">valid</span>
+  <span>absolute URL</span>, but may also or instead automatically
+  escape characters entered by the user so that the <span
+  title="concept-fe-value">value</span> is always a <span title="valid
+  URL">valid</span> <span>absolute URL</span> (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 <span
+  title="concept-fe-value">value</span> 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 <span
   title="concept-fe-value">value</span>.</p>
 
   <p>The <code title="attr-input-value">value</code> attribute, if
-  specified, must have a value that is a <span>valid URL</span>.</p>
+  specified, must have a value that is a <span title="valid
+  URL">valid</span> <span>absolute URL</span>.</p>
 
   <p><strong>The <span>value sanitization algorithm</span> is as
   follows:</strong> <span>Strip line breaks</span> from the <span
   title="concept-fe-value">value</span>.</p>
 
   <p><strong>Constraint validation:</strong> While the <span
-  title="concept-fe-value">value</span> of the element is not a
-  <span>valid URL</span>, the element is <span>suffering from a type
-  mismatch</span>.</p>
+  title="concept-fe-value">value</span> of the element is not a <span
+  title="valid URL">valid</span> <span>absolute URL</span>, the
+  element is <span>suffering from a type mismatch</span>.</p>
 
   <div class="bookkeeping">
 




More information about the Commit-Watchers mailing list