[html5] r7876 - [e] (0) Try to clarify what this sections means and make it more consistent with [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri May 31 12:23:04 PDT 2013
Author: ianh
Date: 2013-05-31 12:23:02 -0700 (Fri, 31 May 2013)
New Revision: 7876
Modified:
complete.html
index
source
Log:
[e] (0) Try to clarify what this sections means and make it more consistent with itself, WebIDL, and JS.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21658
Affected topics: DOM APIs
Modified: complete.html
===================================================================
--- complete.html 2013-05-30 23:48:53 UTC (rev 7875)
+++ complete.html 2013-05-31 19:23:02 UTC (rev 7876)
@@ -256,7 +256,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 — Last Updated 30 May 2013</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 31 May 2013</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>
@@ -8046,15 +8046,15 @@
<p>The <var title="">input</var> value is an object. Jump to the
appropriate step below:</p>
- <dl class=switch><dt>If <var title="">input</var> is a Boolean object</dt>
+ <dl class=switch><dt>If <var title="">input</var> is a <code>Boolean</code> object</dt>
<dd><p>Let <var title="">output</var> be a newly constructed Boolean object with the same value as <var title="">input</var>.</dd>
- <dt>If <var title="">input</var> is a Number object</dt>
+ <dt>If <var title="">input</var> is a <code>Number</code> object</dt>
<dd><p>Let <var title="">output</var> be a newly constructed Number object with the same value as <var title="">input</var>.</dd>
- <dt>If <var title="">input</var> is a String object</dt>
+ <dt>If <var title="">input</var> is a <code>String</code> object</dt>
<dd><p>Let <var title="">output</var> be a newly constructed String object with the same value as <var title="">input</var>.</dd>
@@ -8108,7 +8108,7 @@
<dd><p>...</p></dd>
-->
- <dt>If <var title="">input</var> is an Array object</dt>
+ <dt>If <var title="">input</var> is an <code>Array</code> object</dt>
<dd>
@@ -8121,7 +8121,7 @@
</dd>
- <dt>If <var title="">input</var> is an Object object</dt>
+ <dt>If <var title="">input</var> is an <code><a href=#the-object-element>Object</a></code> object</dt>
<dd><p>Let <var title="">output</var> be a newly constructed empty <code title="">Object</code> object.</dd>
@@ -8135,8 +8135,13 @@
<dd><p>Throw a <code><a href=#datacloneerror>DataCloneError</a></code> exception and abort
the overall <a href=#structured-clone>structured clone</a> algorithm.</dd>
- </dl></li>
+ </dl><p>For the purposes of the algorithm above, an object is a particular type of object <var title="">class</var> if its [[Class]] internal property is equal to <var title="">class</var>.</p>
+ <p class=example>For example, "<var title="">input</var> is an <code><a href=#the-object-element>Object</a></code> object" if
+ <var title="">input</var>'s [[Class]] internal property is equal to the string "<code title="">Class</code>".</p>
+
+ </li>
+
<li><p>Add a mapping from <var title="">input</var> (the source
object) to <var title="">output</var> (the destination object) to
<var title="">memory</var>.</li>
Modified: index
===================================================================
--- index 2013-05-30 23:48:53 UTC (rev 7875)
+++ index 2013-05-31 19:23:02 UTC (rev 7876)
@@ -256,7 +256,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 — Last Updated 30 May 2013</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 31 May 2013</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>
@@ -8046,15 +8046,15 @@
<p>The <var title="">input</var> value is an object. Jump to the
appropriate step below:</p>
- <dl class=switch><dt>If <var title="">input</var> is a Boolean object</dt>
+ <dl class=switch><dt>If <var title="">input</var> is a <code>Boolean</code> object</dt>
<dd><p>Let <var title="">output</var> be a newly constructed Boolean object with the same value as <var title="">input</var>.</dd>
- <dt>If <var title="">input</var> is a Number object</dt>
+ <dt>If <var title="">input</var> is a <code>Number</code> object</dt>
<dd><p>Let <var title="">output</var> be a newly constructed Number object with the same value as <var title="">input</var>.</dd>
- <dt>If <var title="">input</var> is a String object</dt>
+ <dt>If <var title="">input</var> is a <code>String</code> object</dt>
<dd><p>Let <var title="">output</var> be a newly constructed String object with the same value as <var title="">input</var>.</dd>
@@ -8108,7 +8108,7 @@
<dd><p>...</p></dd>
-->
- <dt>If <var title="">input</var> is an Array object</dt>
+ <dt>If <var title="">input</var> is an <code>Array</code> object</dt>
<dd>
@@ -8121,7 +8121,7 @@
</dd>
- <dt>If <var title="">input</var> is an Object object</dt>
+ <dt>If <var title="">input</var> is an <code><a href=#the-object-element>Object</a></code> object</dt>
<dd><p>Let <var title="">output</var> be a newly constructed empty <code title="">Object</code> object.</dd>
@@ -8135,8 +8135,13 @@
<dd><p>Throw a <code><a href=#datacloneerror>DataCloneError</a></code> exception and abort
the overall <a href=#structured-clone>structured clone</a> algorithm.</dd>
- </dl></li>
+ </dl><p>For the purposes of the algorithm above, an object is a particular type of object <var title="">class</var> if its [[Class]] internal property is equal to <var title="">class</var>.</p>
+ <p class=example>For example, "<var title="">input</var> is an <code><a href=#the-object-element>Object</a></code> object" if
+ <var title="">input</var>'s [[Class]] internal property is equal to the string "<code title="">Class</code>".</p>
+
+ </li>
+
<li><p>Add a mapping from <var title="">input</var> (the source
object) to <var title="">output</var> (the destination object) to
<var title="">memory</var>.</li>
Modified: source
===================================================================
--- source 2013-05-30 23:48:53 UTC (rev 7875)
+++ source 2013-05-31 19:23:02 UTC (rev 7876)
@@ -7700,15 +7700,15 @@
<dl class="switch">
- <dt>If <var title="">input</var> is a Boolean object</dt>
+ <dt>If <var title="">input</var> is a <code>Boolean</code> object</dt>
<dd><p>Let <var title="">output</var> be a newly constructed Boolean object with the same value as <var title="">input</var>.</p></dd>
- <dt>If <var title="">input</var> is a Number object</dt>
+ <dt>If <var title="">input</var> is a <code>Number</code> object</dt>
<dd><p>Let <var title="">output</var> be a newly constructed Number object with the same value as <var title="">input</var>.</p></dd>
- <dt>If <var title="">input</var> is a String object</dt>
+ <dt>If <var title="">input</var> is a <code>String</code> object</dt>
<dd><p>Let <var title="">output</var> be a newly constructed String object with the same value as <var title="">input</var>.</p></dd>
@@ -7770,7 +7770,7 @@
<dd><p>...</p></dd>
-->
- <dt>If <var title="">input</var> is an Array object</dt>
+ <dt>If <var title="">input</var> is an <code>Array</code> object</dt>
<dd>
@@ -7784,7 +7784,7 @@
</dd>
- <dt>If <var title="">input</var> is an Object object</dt>
+ <dt>If <var title="">input</var> is an <code>Object</code> object</dt>
<dd><p>Let <var title="">output</var> be a newly constructed empty <code title="">Object</code> object.</p></dd>
@@ -7800,6 +7800,14 @@
</dl>
+ <p>For the purposes of the algorithm above, an object is a particular type of object <var
+ title="">class</var> if its [[Class]] internal property is equal to <var
+ title="">class</var>.</p>
+
+ <p class="example">For example, "<var title="">input</var> is an <code>Object</code> object" if
+ <var title="">input</var>'s [[Class]] internal property is equal to the string "<code
+ title="">Class</code>".</p>
+
</li>
<li><p>Add a mapping from <var title="">input</var> (the source
More information about the Commit-Watchers
mailing list