Skip to content

Commit

Permalink
[] (0) WF2: Allow UAs to auto-escapify data entered for type=url.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@2369 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 28, 2008
1 parent b18d9e4 commit 38567e7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
12 changes: 8 additions & 4 deletions index
Expand Up @@ -24159,10 +24159,14 @@ function AddCloud(data, x, y) { ... }</pre>
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>
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>

<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>
Expand Down
13 changes: 8 additions & 5 deletions source
Expand Up @@ -26883,11 +26883,14 @@ function AddCloud(data, x, y) { ... }</pre>
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>. 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>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
title="concept-fe-value">value</span>.</p>

<p>The <code title="attr-input-value">value</code> attribute, if
Expand Down

0 comments on commit 38567e7

Please sign in to comment.