Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) make terminology less confusing
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=16990
Affected topics: DOM APIs, HTML

git-svn-id: http://svn.whatwg.org/webapps@7095 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 8, 2012
1 parent 3bea85e commit 5280d38
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
14 changes: 7 additions & 7 deletions complete.html
Expand Up @@ -240,7 +240,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 7 May 2012</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 8 May 2012</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -3440,7 +3440,7 @@ <h4 id=character-encodings><span class=secno>2.1.6 </span>Character encodings</h
<p>The term <dfn id=unicode-character>Unicode character</dfn> is used to mean a <i title="">Unicode scalar value</i> (i.e. any Unicode code point that
is not a surrogate code point). <a href=#refsUNICODE>[UNICODE]</a></p>

<p>The <dfn id=code-point-length>code-point length</dfn> of a string is the number of
<p>The <dfn id=code-unit-length>code-unit length</dfn> of a string is the number of
<a href=#code-unit title="code unit">code units</a> in that string.</p>

<p class=note>This complexity results from the historical decision
Expand Down Expand Up @@ -49753,7 +49753,7 @@ <h6 id=the-maxlength-attribute><span class=secno>4.10.7.3.8 </span>The <code tit
flag</a></span>.</p>

<p>If the <code><a href=#the-input-element>input</a></code> element has a <a href=#maximum-allowed-value-length>maximum allowed
value length</a>, then the <a href=#code-point-length>code-point length</a> of the
value length</a>, then the <a href=#code-unit-length>code-unit length</a> of the
value of the element's <code title=attr-input-value><a href=#attr-input-value>value</a></code>
attribute must be equal to or less than the element's <a href=#maximum-allowed-value-length>maximum
allowed value length</a>.</p>
Expand Down Expand Up @@ -51715,7 +51715,7 @@ <h4 id=the-textarea-element><span class=secno>4.10.13 </span>The <dfn><code>text

<p>If the <code><a href=#the-textarea-element>textarea</a></code> element has a <a href=#maximum-allowed-value-length>maximum allowed
value length</a>, then the element's children must be such that
the <a href=#code-point-length>code-point length</a> of the value of the element's
the <a href=#code-unit-length>code-unit length</a> of the value of the element's
<code><a href=#textcontent>textContent</a></code> IDL attribute is equal to or less than the
element's <a href=#maximum-allowed-value-length>maximum allowed value length</a>.</p>

Expand Down Expand Up @@ -51822,7 +51822,7 @@ <h4 id=the-textarea-element><span class=secno>4.10.13 </span>The <dfn><code>text
selection direction to <i>none</i>.</p>

<p>The <dfn id=dom-textarea-textlength title=dom-textarea-textLength><code>textLength</code></dfn> IDL
attribute must return the <a href=#code-point-length>code-point length</a> of the
attribute must return the <a href=#code-unit-length>code-unit length</a> of the
element's <a href=#concept-textarea-api-value title=concept-textarea-api-value>API
value</a>.</p>

Expand Down Expand Up @@ -53236,12 +53236,12 @@ <h5 id=limiting-user-input-length><span class=secno>4.10.19.5 </span>Limiting us
<a href=#maximum-allowed-value-length>maximum allowed value length</a>, its <var title="">dirty
value flag</var> is true, its <a href=#concept-fe-value title=concept-fe-value>value</a> was last changed by a user
edit (as opposed to a change made by a script), and the
<a href=#code-point-length>code-point length</a> of the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is greater than the element's
<a href=#code-unit-length>code-unit length</a> of the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is greater than the element's
<a href=#maximum-allowed-value-length>maximum allowed value length</a>, then the element is
<a href=#suffering-from-being-too-long>suffering from being too long</a>.</p>

<p>User agents may prevent the user from causing the element's <a href=#concept-fe-value title=concept-fe-value>value</a> to be set to a value whose
<a href=#code-point-length>code-point length</a> is greater than the element's
<a href=#code-unit-length>code-unit length</a> is greater than the element's
<a href=#maximum-allowed-value-length>maximum allowed value length</a>.</p>

</div>
Expand Down
14 changes: 7 additions & 7 deletions index
Expand Up @@ -240,7 +240,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 7 May 2012</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 8 May 2012</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -3440,7 +3440,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<p>The term <dfn id=unicode-character>Unicode character</dfn> is used to mean a <i title="">Unicode scalar value</i> (i.e. any Unicode code point that
is not a surrogate code point). <a href=#refsUNICODE>[UNICODE]</a></p>

<p>The <dfn id=code-point-length>code-point length</dfn> of a string is the number of
<p>The <dfn id=code-unit-length>code-unit length</dfn> of a string is the number of
<a href=#code-unit title="code unit">code units</a> in that string.</p>

<p class=note>This complexity results from the historical decision
Expand Down Expand Up @@ -49753,7 +49753,7 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
flag</a></span>.</p>

<p>If the <code><a href=#the-input-element>input</a></code> element has a <a href=#maximum-allowed-value-length>maximum allowed
value length</a>, then the <a href=#code-point-length>code-point length</a> of the
value length</a>, then the <a href=#code-unit-length>code-unit length</a> of the
value of the element's <code title=attr-input-value><a href=#attr-input-value>value</a></code>
attribute must be equal to or less than the element's <a href=#maximum-allowed-value-length>maximum
allowed value length</a>.</p>
Expand Down Expand Up @@ -51715,7 +51715,7 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme

<p>If the <code><a href=#the-textarea-element>textarea</a></code> element has a <a href=#maximum-allowed-value-length>maximum allowed
value length</a>, then the element's children must be such that
the <a href=#code-point-length>code-point length</a> of the value of the element's
the <a href=#code-unit-length>code-unit length</a> of the value of the element's
<code><a href=#textcontent>textContent</a></code> IDL attribute is equal to or less than the
element's <a href=#maximum-allowed-value-length>maximum allowed value length</a>.</p>

Expand Down Expand Up @@ -51822,7 +51822,7 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
selection direction to <i>none</i>.</p>

<p>The <dfn id=dom-textarea-textlength title=dom-textarea-textLength><code>textLength</code></dfn> IDL
attribute must return the <a href=#code-point-length>code-point length</a> of the
attribute must return the <a href=#code-unit-length>code-unit length</a> of the
element's <a href=#concept-textarea-api-value title=concept-textarea-api-value>API
value</a>.</p>

Expand Down Expand Up @@ -53236,12 +53236,12 @@ out of 233&thinsp;257&thinsp;824 bytes available&lt;/meter&gt;&lt;/p&gt;</pre>
<a href=#maximum-allowed-value-length>maximum allowed value length</a>, its <var title="">dirty
value flag</var> is true, its <a href=#concept-fe-value title=concept-fe-value>value</a> was last changed by a user
edit (as opposed to a change made by a script), and the
<a href=#code-point-length>code-point length</a> of the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is greater than the element's
<a href=#code-unit-length>code-unit length</a> of the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is greater than the element's
<a href=#maximum-allowed-value-length>maximum allowed value length</a>, then the element is
<a href=#suffering-from-being-too-long>suffering from being too long</a>.</p>

<p>User agents may prevent the user from causing the element's <a href=#concept-fe-value title=concept-fe-value>value</a> to be set to a value whose
<a href=#code-point-length>code-point length</a> is greater than the element's
<a href=#code-unit-length>code-unit length</a> is greater than the element's
<a href=#maximum-allowed-value-length>maximum allowed value length</a>.</p>

</div>
Expand Down
12 changes: 6 additions & 6 deletions source
Expand Up @@ -2337,7 +2337,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
is not a surrogate code point). <a
href="#refsUNICODE">[UNICODE]</a></p>

<p>The <dfn>code-point length</dfn> of a string is the number of
<p>The <dfn>code-unit length</dfn> of a string is the number of
<span title="code unit">code units</span> in that string.</p>

<p class="note">This complexity results from the historical decision
Expand Down Expand Up @@ -57987,7 +57987,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
flag</span></span>.</p>

<p>If the <code>input</code> element has a <span>maximum allowed
value length</span>, then the <span>code-point length</span> of the
value length</span>, then the <span>code-unit length</span> of the
value of the element's <code title="attr-input-value">value</code>
attribute must be equal to or less than the element's <span>maximum
allowed value length</span>.</p>
Expand Down Expand Up @@ -60372,7 +60372,7 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {

<p>If the <code>textarea</code> element has a <span>maximum allowed
value length</span>, then the element's children must be such that
the <span>code-point length</span> of the value of the element's
the <span>code-unit length</span> of the value of the element's
<code>textContent</code> IDL attribute is equal to or less than the
element's <span>maximum allowed value length</span>.</p>

Expand Down Expand Up @@ -60502,7 +60502,7 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {

<p>The <dfn
title="dom-textarea-textLength"><code>textLength</code></dfn> IDL
attribute must return the <span>code-point length</span> of the
attribute must return the <span>code-unit length</span> of the
element's <span title="concept-textarea-api-value">API
value</span>.</p>

Expand Down Expand Up @@ -62139,14 +62139,14 @@ out of 233&#x2009;257&#x2009;824 bytes available&lt;/meter>&lt;/p></pre>
value flag</var> is true, its <span
title="concept-fe-value">value</span> was last changed by a user
edit (as opposed to a change made by a script), and the
<span>code-point length</span> of the element's <span
<span>code-unit length</span> of the element's <span
title="concept-fe-value">value</span> is greater than the element's
<span>maximum allowed value length</span>, then the element is
<span>suffering from being too long</span>.</p>

<p>User agents may prevent the user from causing the element's <span
title="concept-fe-value">value</span> to be set to a value whose
<span>code-point length</span> is greater than the element's
<span>code-unit length</span> is greater than the element's
<span>maximum allowed value length</span>.</p>

</div>
Expand Down

0 comments on commit 5280d38

Please sign in to comment.