- From: poot <cvsmail@w3.org>
- Date: Tue, 30 Dec 2008 08:37:58 +0900 (JST)
- To: public-html-diffs@w3.org
WF2: make <input type=url> require absolute URLs. (bug 6300) (whatwg r2615) http://www.w3.org/Bugs/Public/show_bug.cgi?id=6300 search http://people.w3.org/mike/diffs/html5/spec/Overview.1.1785.html#attr-input-type-search-keyword 4.10.4.1.2 Text state and Search state http://people.w3.org/mike/diffs/html5/spec/Overview.1.1785.html#text-state-and-search-state url http://people.w3.org/mike/diffs/html5/spec/Overview.1.1785.html#attr-input-type-url-keyword 4.10.4.1.3 URL state http://people.w3.org/mike/diffs/html5/spec/Overview.1.1785.html#url-state email http://people.w3.org/mike/diffs/html5/spec/Overview.1.1785.html#attr-input-type-email-keyword http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1784&r2=1.1785&f=h http://html5.org/tools/web-apps-tracker?from=2614&to=2615 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1784 retrieving revision 1.1785 diff -u -d -r1.1784 -r1.1785 --- Overview.html 29 Dec 2008 23:24:26 -0000 1.1784 +++ Overview.html 29 Dec 2008 23:34:56 -0000 1.1785 @@ -19505,7 +19505,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> @@ -20598,22 +20598,22 @@ </div><h6 id=url-state><span class=secno>4.10.4.1.3 </span><dfn title=attr-input-type-url>URL</dfn> state</h6><p>When an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#url-state title=attr-input-type-url>URL</a> state, the rules in this section apply.<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>If the is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>, the user + 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>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>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 - mismatch</a>.<div class=bookkeeping> + 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>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 title="valid + URL">valid</a> <a href=#absolute-url>absolute 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 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>.<div class=bookkeeping> <p>The following common <code><a href=#the-input-element>input</a></code> element content attributes and DOM attributes apply to the element:
Received on Monday, 29 December 2008 23:38:36 UTC