- From: poot <cvsmail@w3.org>
- Date: Mon, 15 Jun 2009 09:36:41 +0900 (JST)
- To: public-html-diffs@w3.org
editorial cleanup; reference collection (whatwg r3248) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2395&r2=1.2396&f=h http://html5.org/tools/web-apps-tracker?from=3247&to=3248 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2395 retrieving revision 1.2396 diff -u -d -r1.2395 -r1.2396 --- Overview.html 14 Jun 2009 20:45:30 -0000 1.2395 +++ Overview.html 15 Jun 2009 00:36:21 -0000 1.2396 @@ -152,7 +152,7 @@ <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> <!--ZZZ:--> <!--<h2 class="no-num no-toc">W3C Working Draft 23 April 2009</h2>--> - <h2 class="no-num no-toc" id="editor-s-draft-date-1-january-1970">Editor's Draft 14 June 2009</h2> + <h2 class="no-num no-toc" id="editor-s-draft-date-1-january-1970">Editor's Draft 15 June 2009</h2> <!--:ZZZ--> <dl><!-- ZZZ: update the month/day (twice), (un)comment out <dt>This Version:</dt> @@ -245,7 +245,7 @@ track. <!--ZZZ:--> <!--This specification is the 23 April 2009 Working Draft.--> - This specification is the 14 June 2009 Editor's Draft. + This specification is the 15 June 2009 Editor's Draft. <!--:ZZZ--> </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href="http://www.whatwg.org/">WHATWG</a>. The two specifications are identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of) @@ -4622,7 +4622,7 @@ </ol><p>On setting, if the given element has an <code title="attr-id"><a href="#the-id-attribute">id</a></code> attribute, then the content attribute must be set to the value of that <code title="attr-id"><a href="#the-id-attribute">id</a></code> attribute. Otherwise, the DOM attribute must be set to the empty - string.</p><!-- XXX or raise an exception? --> + string.</p> </div><h4 id="collections"><span class="secno">2.8.2 </span>Collections</h4><p>The <code><a href="#htmlcollection-0">HTMLCollection</a></code>, <code><a href="#htmlformcontrolscollection-0">HTMLFormControlsCollection</a></code>, @@ -4648,7 +4648,8 @@ object every time it is retrieved.</p> </div><h5 id="htmlcollection"><span class="secno">2.8.2.1 </span>HTMLCollection</h5><p>The <code><a href="#htmlcollection-0">HTMLCollection</a></code> interface represents a generic - <a href="#collections-0" title="collections">collection</a> of elements.</p><!-- XXX IE does [Callable] with magic that calls item() or namedItem() as appropriate as if it were a regular [[Get]] --><pre class="idl">[Callable=<a href="#dom-htmlcollection-nameditem" title="dom-HTMLCollection-namedItem">namedItem</a>] + <a href="#collections-0" title="collections">collection</a> of elements.</p><!-- IE does [Callable] with magic that calls item() or namedItem() as appropriate as if it were a regular [[Get]], + so we might need to change this for compat. However, WebIDL doesn't support that for now. --><pre class="idl">[Callable=<a href="#dom-htmlcollection-nameditem" title="dom-HTMLCollection-namedItem">namedItem</a>] interface <dfn id="htmlcollection-0">HTMLCollection</dfn> { readonly attribute unsigned long <a href="#dom-htmlcollection-length" title="dom-HTMLCollection-length">length</a>; [IndexGetter] Element <a href="#dom-htmlcollection-item" title="dom-HTMLCollection-item">item</a>(in unsigned long index); @@ -4953,7 +4954,7 @@ <li>Otherwise, if there are no nodes in the collection that have either an <code title="attr-id"><a href="#the-id-attribute">id</a></code> attribute or a <code title="attr-option-name">name</code> attribute equal to <var title="">name</var>, then return null and stop the algorithm.</li> - <!-- XXX should we return an HTMLCollection instead, like IE? --> + <!-- IE returns an HTMLCollection instead; we may need to change to that for compat --> <li>Otherwise, create a <code>NodeList</code> object representing a live view of the <code><a href="#htmloptionscollection-0">HTMLOptionsCollection</a></code> object, further filtered so that the only nodes in the <code>NodeList</code> object @@ -5484,7 +5485,7 @@ features that were formerly deprecated, poorly supported, rarely used or considered unnecessary have been removed. Therefore it is not guaranteed that an implementation that supports "<code title="">HTML</code>" "<code>5.0</code>" also supports "<code title="">HTML</code>" "<code>2.0</code>".<h4 id="exceptions"><span class="secno">2.8.8 </span>Exceptions</h4><p>The following <code>DOMException</code> codes are defined in DOM - Core. <a href="#references">[DOMCORE]</a></p><!-- XXX xref all these exceptions to DOM3CORE --><ol class="brief"><li value="1"><dfn id="index_size_err"><code>INDEX_SIZE_ERR</code></dfn></li> + Core. <a href="#references">[DOMCORE]</a><ol class="brief"><li value="1"><dfn id="index_size_err"><code>INDEX_SIZE_ERR</code></dfn></li> <li value="2"><dfn id="domstring_size_err"><code>DOMSTRING_SIZE_ERR</code></dfn></li> <li value="3"><dfn id="hierarchy_request_err"><code>HIERARCHY_REQUEST_ERR</code></dfn></li> <li value="4"><dfn id="wrong_document_err"><code>WRONG_DOCUMENT_ERR</code></dfn></li> @@ -5874,8 +5875,7 @@ encoding">character encoding</dfn>. When a <code>Document</code> object is created, the <a href="#document-s-character-encoding">document's character encoding</a> must be initialized to UTF-16. Various algorithms during page - loading affect this value, as does the <code title="dom-document-charset"><a href="#dom-document-charset">charset</a></code> setter. <a href="#references">[IANACHARSET]</a> <!-- XXX - http://www.iana.org/assignments/character-sets --></p> + loading affect this value, as does the <code title="dom-document-charset"><a href="#dom-document-charset">charset</a></code> setter. <a href="#references">[IANACHARSET]</a></p> <p>The <dfn id="dom-document-charset" title="dom-document-charset"><code>charset</code></dfn> DOM attribute must, on getting, return the preferred MIME name of @@ -63704,7 +63704,7 @@ <code>UIEvent</code> interface, during event propagation. There is no way currently to enumerate all the views.</p><!-- XXX examples! --><h2 class="no-num" id="index">Index</h2><p><em>This section is non-normative.</em><p class="XXX">List of elements<p class="XXX">List of attributes<p class="XXX">List of <dfn id="reflecting-dom-attributes">reflecting DOM attributes</dfn> and their corresponding content attributes</p><!-- include option.text; textarea.defaultValue, and other attributes that "reflect" the element's textContent --><p class="XXX">List of interfaces<p class="XXX">List of events<h2 class="no-num" id="references">References</h2><p class="XXX">This section will be written in a future draft.</p><!-- XXX check that #references is always for [RFC\1] --><!-- REFS - [BIG5] http://en.wikipedia.org/wiki/Big5 + [BIG5] Institute for Information Industry, "Chinese Coded Character Set in Computer ", March, 1984 [COMPUTABLE] On computable numbers, with an application to the Entscheidungsproblem. Alan M. Turing. In Proceedings of the London Mathematical Society, series 2, volume 42, pages 230-265. London Mathematical Society, 1937. http://www.turingarchive.org/browse.php/B/12 (referenced: 2007-03-03) [EUCKR] Korea Industrial Standards Association, "Hangul Unix Environment," Korean Industrial Standard, 1992, Ref. No. KS C 5861-1992. [GBK] http://www.iana.org/assignments/charset-reg/GBK @@ -63712,6 +63712,7 @@ <dd id="refsGREGORIAN">[GREGORIAN]</dd> <dd>(Non-normative) <cite>Inter Gravissimas</cite>, A. Lilius, C. Clavius. Gregory XIII Papal Bulls, February 1582.</dd> + [IANACHARSET] http://www.iana.org/assignments/character-sets [ISO885911] http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=28263 [RFC1345] Simonsen, K., "Character Mnemonics & Character Sets", RFC 1345, Rationel Almen Planlaegning, Rationel Almen Planlaegning, June 1992. [SHIFTJIS] JIS X0208:1997
Received on Monday, 15 June 2009 00:37:16 UTC