Skip to content

Commit

Permalink
[e] (0) Change the terminology to be clearer that 'lowercase' and 'up…
Browse files Browse the repository at this point in the history
…percase' refer to ASCII case only. (bug 6898)

git-svn-id: http://svn.whatwg.org/webapps@3170 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 1, 2009
1 parent 35ad69f commit cb8e4c0
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 64 deletions.
64 changes: 32 additions & 32 deletions index
Expand Up @@ -2175,17 +2175,17 @@

<div class=impl>

<p><dfn id=converted-to-uppercase title="converted to uppercase">Converting a string to
uppercase</dfn> means replacing all characters in the range U+0061
.. U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z) with
the corresponding characters in the range U+0041 .. U+005A
<p><dfn id=converted-to-ascii-uppercase title="converted to ASCII uppercase">Converting a string to
ASCII uppercase</dfn> means replacing all characters in the range
U+0061 .. U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z)
with the corresponding characters in the range U+0041 .. U+005A
(i.e. LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER Z).</p>

<p><dfn id=converted-to-lowercase title="converted to lowercase">Converting a string to
lowercase</dfn> means replacing all characters in the range U+0041
.. U+005A (i.e. LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER Z)
with the corresponding characters in the range U+0061 .. U+007A
(i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z).</p>
<p><dfn id=converted-to-ascii-lowercase title="converted to ASCII lowercase">Converting a string to
ASCII lowercase</dfn> means replacing all characters in the range
U+0041 .. U+005A (i.e. LATIN CAPITAL LETTER A to LATIN CAPITAL
LETTER Z) with the corresponding characters in the range U+0061
.. U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z).</p>

</div>

Expand Down Expand Up @@ -6263,8 +6263,8 @@ interface <dfn id=htmlcollection-0>HTMLCollection</dfn> {
<code><a href=#htmlcollection-0>HTMLCollection</a></code> object on which the method was invoked,
whose filter matches only <a href=#html-elements>HTML elements</a> whose local
name is the <var title="">tagName</var> argument. In <a href=#html-documents>HTML
documents</a>, the argument must first be <a href=#converted-to-lowercase>converted to
lowercase</a>.</p>
documents</a>, the argument must first be <a href=#converted-to-ascii-lowercase>converted to
ASCII lowercase</a>.</p>

</div>

Expand Down Expand Up @@ -9327,7 +9327,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<dd>

<p>These attributes <span class=impl>must</span> return element
names <a href=#converted-to-uppercase>converted to uppercase</a>, regardless of the case
names <a href=#converted-to-ascii-uppercase>converted to ASCII uppercase</a>, regardless of the case
with which they were created.</p>

</dd>
Expand All @@ -9338,7 +9338,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<dd>

<p>The canonical form of HTML markup is all-lowercase; thus, this
method will <a href=#converted-to-lowercase title="converted to lowercase">lowercase</a>
method will <a href=#converted-to-ascii-lowercase title="converted to ASCII lowercase">lowercase</a>
the argument before creating the requisite element. <span class=impl>Also, the element created must be in the <a href=#html-namespace-0>HTML
namespace</a></span>.</p>

Expand All @@ -9357,15 +9357,15 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0

<dd>

<p>Attribute names are <a href=#converted-to-lowercase>converted to lowercase</a>.</p>
<p>Attribute names are <a href=#converted-to-ascii-lowercase>converted to ASCII lowercase</a>.</p>

<div class=impl>

<p>Specifically: when an attribute is set on an <a href=#html-elements title="HTML
elements">HTML element</a> using <code title="">Element.setAttribute()</code>, the name argument must be
<a href=#converted-to-lowercase>converted to lowercase</a> before the element is
<a href=#converted-to-ascii-lowercase>converted to ASCII lowercase</a> before the element is
affected; and when an <code>Attr</code> node is set on an <a href=#html-elements title="HTML elements">HTML element</a> using <code title="">Element.setAttributeNode()</code>, it must have its name
<a href=#converted-to-lowercase>converted to lowercase</a> before the element is
<a href=#converted-to-ascii-lowercase>converted to ASCII lowercase</a> before the element is
affected.</p>

</div>
Expand All @@ -9380,13 +9380,13 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0

<dd>

<p>Attribute names are <a href=#converted-to-lowercase>converted to lowercase</a>.</p>
<p>Attribute names are <a href=#converted-to-ascii-lowercase>converted to ASCII lowercase</a>.</p>

<div class=impl>

<p>Specifically: When the <code title="">Element.getAttribute()</code> method or the <code title="">Element.getAttributeNode()</code> method is invoked on
an <a href=#html-elements title="HTML elements">HTML element</a>, the name
argument must be <a href=#converted-to-lowercase>converted to lowercase</a> before the
argument must be <a href=#converted-to-ascii-lowercase>converted to ASCII lowercase</a> before the
element's attributes are examined.</p>

</div>
Expand All @@ -9410,7 +9410,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<p>Specifically, these methods (but not their namespaced
counterparts) must compare the given argument in a
<a href=#case-sensitive>case-sensitive</a> manner, but when looking at <a href=#html-elements title="HTML elements">HTML elements</a>, the argument must
first be <a href=#converted-to-lowercase>converted to lowercase</a>.</p>
first be <a href=#converted-to-ascii-lowercase>converted to ASCII lowercase</a>.</p>

</div>

Expand Down Expand Up @@ -22930,8 +22930,8 @@ interface <dfn id=cuerangecallback>CueRangeCallback</dfn> {
may support other types. If the user agent does not support the
requested type, it must return the image using the PNG format.</p>

<p>User agents must <a href=#converted-to-lowercase title="converted to lowercase">convert the
provided type to lower case</a> before establishing if they
<p>User agents must <a href=#converted-to-ascii-lowercase title="converted to ASCII lowercase">convert the
provided type to ASCII lowercase</a> before establishing if they
support that type and before creating the <code title="">data:</code> URL.</p>

</div>
Expand Down Expand Up @@ -31932,7 +31932,7 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
follows:</strong> If the <a href=#concept-fe-value title=concept-fe-value>value</a>
of the element is a <a href=#valid-simple-color>valid simple color</a>, then set it to
the <a href=#concept-fe-value title=concept-fe-value>value</a> of the element
<a href=#converted-to-lowercase>converted to lowercase</a>; otherwise, set it to the string
<a href=#converted-to-ascii-lowercase>converted to ASCII lowercase</a>; otherwise, set it to the string
"<code title="">#000000</code>".</p>

</div>
Expand Down Expand Up @@ -44180,8 +44180,8 @@ document.body.appendChild(outer);</pre>
the value of the element's <code title="">rel</code> attribute on
spaces</a>, obtaining <var title="">list of tokens</var>.</li>

<li><p><a href=#converted-to-lowercase title="converted to lowercase">Convert each token in
<var title="">list of tokens</var> to lowercase</a>.</li>
<li><p><a href=#converted-to-ascii-lowercase title="converted to ASCII lowercase">Convert each token in
<var title="">list of tokens</var> to ASCII lowercase</a>.</li>

<li><p>If <var title="">list of tokens</var> contains more than
one instance of the token <code title=rel-up><a href=#link-type-up>up</a></code>, then
Expand Down Expand Up @@ -44217,7 +44217,7 @@ document.body.appendChild(outer);</pre>
STOP character (.), generate the following triple:</p>

<dl class=triple><dt>subject <dd> <a href="#the-document's-current-address">the document's current address</a>
<dt>predicate <dd> the concatenation of the string "<code title="">http://www.w3.org/1999/xhtml/vocab#</code>" and value of the element's <code title=attr-meta-name><a href=#attr-meta-name>name</a></code> attribute, <a href=#converted-to-lowercase>converted to lowercase</a>
<dt>predicate <dd> the concatenation of the string "<code title="">http://www.w3.org/1999/xhtml/vocab#</code>" and value of the element's <code title=attr-meta-name><a href=#attr-meta-name>name</a></code> attribute, <a href=#converted-to-ascii-lowercase>converted to ASCII lowercase</a>
<dt>object <dd> the value of the element's <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute, as a plain literal, with the language information set from the <a href=#language>language</a> of the element, if it is not unknown.
</dl></li>

Expand Down Expand Up @@ -44744,8 +44744,8 @@ document.body.appendChild(outer);</pre>

<ol><li><p>Let <var title="">line</var> be an empty string.

<li><p>Append <var title="">type</var>, <a href=#converted-to-uppercase>converted to
uppercase</a>, to <var title="">line</var>.</li>
<li><p>Append <var title="">type</var>, <a href=#converted-to-ascii-uppercase>converted to
ASCII uppercase</a>, to <var title="">line</var>.</li>

<li>

Expand Down Expand Up @@ -44978,8 +44978,8 @@ document.body.appendChild(outer);</pre>

<ol><li><p>Let <var title="">line</var> be an empty string.</li>

<li><p>Append <var title="">type</var>, <a href=#converted-to-uppercase>converted to
uppercase</a>, to <var title="">line</var>.</li>
<li><p>Append <var title="">type</var>, <a href=#converted-to-ascii-uppercase>converted to
ASCII uppercase</a>, to <var title="">line</var>.</li>

<li>

Expand Down Expand Up @@ -46712,7 +46712,7 @@ interface <dfn id=window>Window</dfn> {
URL</a>, then return a new globally unique
identifier.</li>

<li><p>Let <var title="">scheme</var> be the <a href=#url-scheme title=url-scheme>&lt;scheme&gt;</a> component of <var title="">url</var>, <a href=#converted-to-lowercase>converted to lowercase</a>.</li>
<li><p>Let <var title="">scheme</var> be the <a href=#url-scheme title=url-scheme>&lt;scheme&gt;</a> component of <var title="">url</var>, <a href=#converted-to-ascii-lowercase>converted to ASCII lowercase</a>.</li>

<li><p>If the UA doesn't support the protocol given by <var title="">scheme</var>, then return a new globally unique
identifier.</li>
Expand All @@ -46737,8 +46737,8 @@ interface <dfn id=window>Window</dfn> {
</li>

<li><p>Let <var title="">host</var> be the result of converting
<var title="">host</var> <a href=#converted-to-lowercase title="converted to lowercase">to
lowercase</a>.</li>
<var title="">host</var> <a href=#converted-to-ascii-lowercase title="converted to ASCII lowercase">to
ASCII lowercase</a>.</li>

<li><p>If there is no <a href=#url-port title=url-port>&lt;port&gt;</a>
component, then let <var title="">port</var> be the default port
Expand Down

0 comments on commit cb8e4c0

Please sign in to comment.