[html5] r3170 - [e] (0) Change the terminology to be clearer that 'lowercase' and 'uppercase' re [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Jun 1 15:15:16 PDT 2009
Author: ianh
Date: 2009-06-01 15:15:14 -0700 (Mon, 01 Jun 2009)
New Revision: 3170
Modified:
index
source
Log:
[e] (0) Change the terminology to be clearer that 'lowercase' and 'uppercase' refer to ASCII case only. (bug 6898)
Modified: index
===================================================================
--- index 2009-06-01 22:00:29 UTC (rev 3169)
+++ index 2009-06-01 22:15:14 UTC (rev 3170)
@@ -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>
@@ -6263,8 +6263,8 @@
<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>
@@ -9327,7 +9327,7 @@
<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>
@@ -9338,7 +9338,7 @@
<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>
@@ -9357,15 +9357,15 @@
<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>
@@ -9380,13 +9380,13 @@
<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>
@@ -9410,7 +9410,7 @@
<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>
@@ -22930,8 +22930,8 @@
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>
@@ -31932,7 +31932,7 @@
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>
@@ -44180,8 +44180,8 @@
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
@@ -44217,7 +44217,7 @@
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>
@@ -44744,8 +44744,8 @@
<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>
@@ -44978,8 +44978,8 @@
<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>
@@ -46712,7 +46712,7 @@
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><scheme></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><scheme></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>
@@ -46737,8 +46737,8 @@
</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><port></a>
component, then let <var title="">port</var> be the default port
Modified: source
===================================================================
--- source 2009-06-01 22:00:29 UTC (rev 3169)
+++ source 2009-06-01 22:15:14 UTC (rev 3170)
@@ -1177,17 +1177,17 @@
<div class="impl">
- <p><dfn 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 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 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 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>
@@ -6155,7 +6155,7 @@
whose filter matches only <span>HTML elements</span> whose local
name is the <var title="">tagName</var> argument. In <span>HTML
documents</span>, the argument must first be <span>converted to
- lowercase</span>.</p>
+ ASCII lowercase</span>.</p>
</div>
@@ -9663,7 +9663,7 @@
<dd>
<p>These attributes <span class="impl">must</span> return element
- names <span>converted to uppercase</span>, regardless of the case
+ names <span>converted to ASCII uppercase</span>, regardless of the case
with which they were created.</p>
</dd>
@@ -9674,7 +9674,7 @@
<dd>
<p>The canonical form of HTML markup is all-lowercase; thus, this
- method will <span title="converted to lowercase">lowercase</span>
+ method will <span title="converted to ASCII lowercase">lowercase</span>
the argument before creating the requisite element. <span
class="impl">Also, the element created must be in the <span>HTML
namespace</span></span>.</p>
@@ -9695,18 +9695,18 @@
<dd>
- <p>Attribute names are <span>converted to lowercase</span>.</p>
+ <p>Attribute names are <span>converted to ASCII lowercase</span>.</p>
<div class="impl">
<p>Specifically: when an attribute is set on an <span title="HTML
elements">HTML element</span> using <code
title="">Element.setAttribute()</code>, the name argument must be
- <span>converted to lowercase</span> before the element is
+ <span>converted to ASCII lowercase</span> before the element is
affected; and when an <code>Attr</code> node is set on an <span
title="HTML elements">HTML element</span> using <code
title="">Element.setAttributeNode()</code>, it must have its name
- <span>converted to lowercase</span> before the element is
+ <span>converted to ASCII lowercase</span> before the element is
affected.</p>
</div>
@@ -9723,7 +9723,7 @@
<dd>
- <p>Attribute names are <span>converted to lowercase</span>.</p>
+ <p>Attribute names are <span>converted to ASCII lowercase</span>.</p>
<div class="impl">
@@ -9731,7 +9731,7 @@
title="">Element.getAttribute()</code> method or the <code
title="">Element.getAttributeNode()</code> method is invoked on
an <span title="HTML elements">HTML element</span>, the name
- argument must be <span>converted to lowercase</span> before the
+ argument must be <span>converted to ASCII lowercase</span> before the
element's attributes are examined.</p>
</div>
@@ -9758,7 +9758,7 @@
counterparts) must compare the given argument in a
<span>case-sensitive</span> manner, but when looking at <span
title="HTML elements">HTML elements</span>, the argument must
- first be <span>converted to lowercase</span>.</p>
+ first be <span>converted to ASCII lowercase</span>.</p>
</div>
@@ -24975,8 +24975,8 @@
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 <span title="converted to lowercase">convert the
- provided type to lower case</span> before establishing if they
+ <p>User agents must <span title="converted to ASCII lowercase">convert the
+ provided type to ASCII lowercase</span> before establishing if they
support that type and before creating the <code
title="">data:</code> URL.</p>
@@ -35535,7 +35535,7 @@
follows:</strong> If the <span title="concept-fe-value">value</span>
of the element is a <span>valid simple color</span>, then set it to
the <span title="concept-fe-value">value</span> of the element
- <span>converted to lowercase</span>; otherwise, set it to the string
+ <span>converted to ASCII lowercase</span>; otherwise, set it to the string
"<code title="">#000000</code>".</p>
</div>
@@ -50021,8 +50021,8 @@
the value of the element's <code title="">rel</code> attribute on
spaces</span>, obtaining <var title="">list of tokens</var>.</p></li>
- <li><p><span title="converted to lowercase">Convert each token in
- <var title="">list of tokens</var> to lowercase</span>.</p></li>
+ <li><p><span title="converted to ASCII lowercase">Convert each token in
+ <var title="">list of tokens</var> to ASCII lowercase</span>.</p></li>
<li><p>If <var title="">list of tokens</var> contains more than
one instance of the token <code title="rel-up">up</code>, then
@@ -50067,7 +50067,7 @@
<dl class="triple">
<dt>subject <dd> <span>the document's current address</span>
- <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">name</code> attribute, <span>converted to lowercase</span>
+ <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">name</code> attribute, <span>converted to ASCII lowercase</span>
<dt>object <dd> the value of the element's <code title="attr-meta-content">content</code> attribute, as a plain literal, with the language information set from the <span>language</span> of the element, if it is not unknown.
</dl>
@@ -50820,7 +50820,7 @@
<li><p>Let <var title="">line</var> be an empty string.
<li><p>Append <var title="">type</var>, <span>converted to
- uppercase</span>, to <var title="">line</var>.</p></li>
+ ASCII uppercase</span>, to <var title="">line</var>.</p></li>
<li>
@@ -51155,7 +51155,7 @@
<li><p>Let <var title="">line</var> be an empty string.</p></li>
<li><p>Append <var title="">type</var>, <span>converted to
- uppercase</span>, to <var title="">line</var>.</p></li>
+ ASCII uppercase</span>, to <var title="">line</var>.</p></li>
<li>
@@ -53205,7 +53205,7 @@
<li><p>Let <var title="">scheme</var> be the <span
title="url-scheme"><scheme></span> component of <var
- title="">url</var>, <span>converted to lowercase</span>.</p></li>
+ title="">url</var>, <span>converted to ASCII lowercase</span>.</p></li>
<li><p>If the UA doesn't support the protocol given by <var
title="">scheme</var>, then return a new globally unique
@@ -53234,8 +53234,8 @@
</li>
<li><p>Let <var title="">host</var> be the result of converting
- <var title="">host</var> <span title="converted to lowercase">to
- lowercase</span>.</p></li>
+ <var title="">host</var> <span title="converted to ASCII lowercase">to
+ ASCII lowercase</span>.</p></li>
<li><p>If there is no <span title="url-port"><port></span>
component, then let <var title="">port</var> be the default port
@@ -69816,7 +69816,7 @@
serialization of an origin">ASCII serialization</span> of the
<span>origin</span> of the script that invoked the <code
title="dom-WebSocket">WebSocket()</code> constructor,
- <span>converted to lowercase</span>.</p></li>
+ <span>converted to ASCII lowercase</span>.</p></li>
<li><p>If the <span title="url-scheme"><scheme></span>
component of <var title="">url</var> is "<code title="">ws</code>",
@@ -69827,7 +69827,7 @@
<li><p>Let <var title="">host</var> be the value of the <span
title="url-host"><host></span> component of <var
- title="">url</var>, <span>converted to lowercase</span>.</p></li>
+ title="">url</var>, <span>converted to ASCII lowercase</span>.</p></li>
<li><p>If <var title="">url</var> has a <span
title="url-port"><port></span> component, then let <var
@@ -70460,7 +70460,7 @@
title="">websocket-origin</code>"</dt>
<dd><p>If the value is not exactly equal to <var
- title="">origin</var>, <span>converted to lowercase</span>, then
+ title="">origin</var>, <span>converted to ASCII lowercase</span>, then
<span>fail the Web Socket connection</span> and abort these
steps.</p></dd>
More information about the Commit-Watchers
mailing list