W3C home > Mailing lists > Public > public-html-commits@w3.org > October 2009

html5/spec-author-view Overview.html,1.395,1.396 acknowledgements.html,1.393,1.394 browsers.html,1.396,1.397 comms.html,1.395,1.396 dom.html,1.396,1.397 editing.html,1.395,1.396 embedded-content-0.html,1.393,1.394 forms.html,1.395,1.396 history.html,1.394,1.395 iana-considerations.html,1.393,1.394 index.html,1.393,1.394 infrastructure.html,1.394,1.395 interactive-elements.html,1.393,1.394 introduction.html,1.394,1.395 microdata.html,1.393,1.394 named-character-references.html,1.394,1.395 obsolete.html,1.394,1.395 offline.html,1.393,1.394 references.html,1.393,1.394 semantics.html,1.395,1.396 spec.html,1.396,1.397 syntax.html,1.396,1.397 tabular-data.html,1.393,1.394 text-level-semantics.html,1.392,1.393 the-canvas-element.html,1.395,1.396 the-xhtml-syntax.html,1.392,1.393 video.html,1.395,1.396

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 20 Oct 2009 11:17:25 +0000
To: Message-Id: <E1N0CiT-0003sH-AD@lionel-hutz.w3.org>
Update of /sources/public/html5/spec-author-view
In directory hutz:/tmp/cvs-serv14875

Modified Files:
	Overview.html acknowledgements.html browsers.html comms.html 
	dom.html editing.html embedded-content-0.html forms.html 
	history.html iana-considerations.html index.html 
	infrastructure.html interactive-elements.html 
	introduction.html microdata.html 
	named-character-references.html obsolete.html offline.html 
	references.html semantics.html spec.html syntax.html 
	tabular-data.html text-level-semantics.html 
	the-canvas-element.html the-xhtml-syntax.html video.html 
Log Message:
Define createHTMLDocument(). (whatwg r4207)

[updated by splitter]


Index: infrastructure.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/infrastructure.html,v
retrieving revision 1.394
retrieving revision 1.395
diff -u -d -r1.394 -r1.395
--- infrastructure.html	20 Oct 2009 10:37:09 -0000	1.394
+++ infrastructure.html	20 Oct 2009 11:17:22 -0000	1.395
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="introduction.html">&#8592; 1 Introduction</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: text-level-semantics.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/text-level-semantics.html,v
retrieving revision 1.392
retrieving revision 1.393
diff -u -d -r1.392 -r1.393
--- text-level-semantics.html	20 Oct 2009 10:37:10 -0000	1.392
+++ text-level-semantics.html	20 Oct 2009 11:17:22 -0000	1.393
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="semantics.html">&#8592; 4 The elements of HTML</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: history.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/history.html,v
retrieving revision 1.394
retrieving revision 1.395
diff -u -d -r1.394 -r1.395
--- history.html	20 Oct 2009 10:37:09 -0000	1.394
+++ history.html	20 Oct 2009 11:17:21 -0000	1.395
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="offline.html">&#8592; 6.7 Offline Web applications</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: tabular-data.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/tabular-data.html,v
retrieving revision 1.393
retrieving revision 1.394
diff -u -d -r1.393 -r1.394
--- tabular-data.html	20 Oct 2009 10:37:10 -0000	1.393
+++ tabular-data.html	20 Oct 2009 11:17:22 -0000	1.394
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="the-canvas-element.html">&#8592; 4.8.11 The canvas element</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: microdata.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/microdata.html,v
retrieving revision 1.393
retrieving revision 1.394
diff -u -d -r1.393 -r1.394
--- microdata.html	20 Oct 2009 10:37:09 -0000	1.393
+++ microdata.html	20 Oct 2009 11:17:22 -0000	1.394
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="interactive-elements.html">&#8592; 4.11 Interactive elements</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/Overview.html,v
retrieving revision 1.395
retrieving revision 1.396
diff -u -d -r1.395 -r1.396
--- Overview.html	20 Oct 2009 10:37:09 -0000	1.395
+++ Overview.html	20 Oct 2009 11:17:21 -0000	1.396
@@ -241,7 +241,7 @@
    </dl><p>This specification is available in the following formats: 
     <a href="spec.html">single page HTML</a>,
     <a href="Overview.html">multipage HTML</a>.
-This is revision 1.3352.
+This is revision 1.3353.
    </p>
    <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2009 <a href="http://www.w3.org/"><abbr title="World Wide
@@ -402,7 +402,8 @@
     <ol><li><a href="dom.html#documents-in-the-dom"><span class="secno">3.1.1 </span>Documents in the DOM</a></li>
      <li><a href="dom.html#security"><span class="secno">3.1.2 </span>Security</a></li>
      <li><a href="dom.html#resource-metadata-management"><span class="secno">3.1.3 </span>Resource metadata management</a></li>
-     <li><a href="dom.html#dom-tree-accessors"><span class="secno">3.1.4 </span>DOM tree accessors</a></li></ol></li>
+     <li><a href="dom.html#dom-tree-accessors"><span class="secno">3.1.4 </span>DOM tree accessors</a></li>
+     <li><a href="dom.html#creating-documents"><span class="secno">3.1.5 </span>Creating documents</a></li></ol></li>
    <li><a href="dom.html#elements"><span class="secno">3.2 </span>Elements</a>
     <ol><li><a href="dom.html#semantics-0"><span class="secno">3.2.1 </span>Semantics</a></li>
      <li><a href="dom.html#elements-in-the-dom"><span class="secno">3.2.2 </span>Elements in the DOM</a></li>

Index: embedded-content-0.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/embedded-content-0.html,v
retrieving revision 1.393
retrieving revision 1.394
diff -u -d -r1.393 -r1.394
--- embedded-content-0.html	20 Oct 2009 10:37:09 -0000	1.393
+++ embedded-content-0.html	20 Oct 2009 11:17:21 -0000	1.394
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="dom.html">&#8592; 3 Semantics, structure, and APIs of HTML documents</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: dom.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/dom.html,v
retrieving revision 1.396
retrieving revision 1.397
diff -u -d -r1.396 -r1.397
--- dom.html	20 Oct 2009 10:37:09 -0000	1.396
+++ dom.html	20 Oct 2009 11:17:21 -0000	1.397
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="infrastructure.html">&#8592; 2 Common infrastructure</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;
@@ -234,17 +234,15 @@
   for example when the user <a href="#navigate" title="navigate">navigates</a> to
   a <a href="#scroll-to-fragid" title="navigate-fragid">fragment identifier</a> on the
   page. </p><p class="note">Interactive user agents typically expose <a href="#the-document-s-current-address">the
-  document's current address</a> in their user interface.</p><p>When a <code>Document</code> is created by a <a href="#concept-script" title="concept-script">script</a> using the <code title="">createDocument()</code> API, <a href="#the-document-s-address">the document's
-  address</a> is the same as <a href="#the-document-s-address">the document's address</a> of
-  the <a href="browsers.html#active-document">active document</a> of the <a href="#script-s-browsing-context">script's browsing
-  context</a>.</p><p><code>Document</code> objects are assumed to be <dfn id="xml-documents">XML
+  document's current address</a> in their user interface.</p><p>When a <code>Document</code> is created by a <a href="#concept-script" title="concept-script">script</a> using the <code title="dom-DOMImplementation-createDocument">createDocument()</code>
+  or <code title="dom-DOMHTMLImplementation-createHTMLDocument"><a href="#dom-domhtmlimplementation-createhtmldocument">createHTMLDocument()</a></code>
+  APIs, <a href="#the-document-s-address">the document's address</a> is the same as <a href="#the-document-s-address">the
+  document's address</a> of the <a href="browsers.html#active-document">active document</a> of the
+  <a href="#script-s-browsing-context">script's browsing context</a>.</p><p><code>Document</code> objects are assumed to be <dfn id="xml-documents">XML
   documents</dfn> unless they are flagged as being <dfn id="html-documents">HTML
   documents</dfn> when they are created. Whether a document is an
   <a href="#html-documents" title="HTML documents">HTML document</a> or an <a href="#xml-documents" title="XML documents">XML document</a> affects the behavior of
-  certain APIs and the case-sensitivity of some selectors.</p><p class="note">A <code>Document</code> object created by the <code title="">createDocument()</code> API on the
-  <code>DOMImplementation</code> object is flagged as an <a href="#xml-documents" title="XML documents">XML document</a>. A <code>Document</code>
-  object created by the <a href="#html-parser">HTML parser</a> for a
-  <code><a href="iana-considerations.html#text-html">text/html</a></code> resource will be flagged as an <a href="#html-documents" title="HTML documents">HTML document</a>.</p><h4 id="documents-in-the-dom"><span class="secno">3.1.1 </span>Documents in the DOM</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>All <code>Document</code> objects (in user agents implementing
+  certain APIs and the case-sensitivity of some selectors.</p><h4 id="documents-in-the-dom"><span class="secno">3.1.1 </span>Documents in the DOM</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>All <code>Document</code> objects (in user agents implementing
   this specification)  also implement
   the <code><a href="#htmldocument">HTMLDocument</a></code> interface, available using
   binding-specific methods. (This is the case whether or not the
@@ -554,7 +552,43 @@
 --><hr><p class="note">The <code title="dom-document-dir"><a href="#dom-document-dir">dir</a></code>
   attribute on the <code><a href="#htmldocument">HTMLDocument</a></code> interface is defined
   along with the <code title="attr-dir"><a href="#the-dir-attribute">dir</a></code> content
-  attribute.</p><h3 id="elements"><span class="secno">3.2 </span>Elements</h3><h4 id="semantics-0"><span class="secno">3.2.1 </span>Semantics</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/41">ISSUE-41</a> (Decentralized-extensibility) blocks progress to Last Call</span></p><p>Elements, attributes, and attribute values in HTML are defined
+  attribute.</p><h4 id="creating-documents"><span class="secno">3.1.5 </span>Creating documents</h4><p><a href="#xml-documents">XML documents</a> can be created from script using the
+  DOM <code title="dom-DOMImplementation-createDocument">createDocument()</code>
+  method on the <code>DOMImplementation</code> interface.</p><p><a href="#html-documents">HTML documents</a> can be created using the <code title="dom-DOMHTMLImplementation-createHTMLDocument"><a href="#dom-domhtmlimplementation-createhtmldocument">createHTMLDocument()</a></code>
+  method:</p><pre>[Supplemental, NoInterfaceObject]
+interface <dfn id="domhtmlimplementation">DOMHTMLImplementation</dfn> {
+  <span>Document</span> <a href="#dom-domhtmlimplementation-createhtmldocument" title="dom-DOMHTMLImplementation-createHTMLDocument">createHTMLDocument</a>(in DOMString title);
+};
+<span>DOMImplementation</span> implements <a href="#domhtmlimplementation">DOMHTMLImplementation</a>;</pre><p>The <dfn id="dom-domhtmlimplementation-createhtmldocument" title="dom-DOMHTMLImplementation-createHTMLDocument"><code>createHTMLDocument(<var title="">title</var>)</code></dfn> method, when invoked, must run the
+  following steps:</p><ol><li><p>Let <var title="">doc</var> be a newly created
+   <code>Document</code> object.</p></li>
+
+   <li><p>Mark <var title="">doc</var> as being an <a href="#html-documents" title="HTML
+   documents">HTML document</a>.</p></li>
+
+   <li><p>Create a <code>DocumentType</code> node with the <code title="">name</code> attribute set to the string "<code title="">html</code>", and the other attributes specific to
+   <code>DocumentType</code> objects set to the empty string, null,
+   and empty lists, as appropriate. Append the newly created node to
+   <var title="">doc</var>.</p></li>
+
+   <li><p>Create an <code><a href="semantics.html#the-html-element-0">html</a></code> element, and append it to <var title="">doc</var>.</p></li>
+
+   <li><p>Create a <code><a href="semantics.html#the-head-element-0">head</a></code> element, and append it to the
+   <code><a href="semantics.html#the-html-element-0">html</a></code> element created in the previous step.</p>
+
+   </li><li><p>Create a <code><a href="semantics.html#the-title-element-0">title</a></code> element, and append it to the
+   <code><a href="semantics.html#the-head-element-0">head</a></code> element created in the previous step.</p>
+
+   </li><li><p>Create a <code>Text</code> node, and set its <code title="">data</code> attribute to the string given by the method's
+   argument (which could be the empty string). Append it to the
+   <code><a href="semantics.html#the-title-element-0">title</a></code> element created in the previous step.</p>
+
+   </li><li><p>Create a <code><a href="semantics.html#the-body-element-0">body</a></code> element, and append it to the
+   <code><a href="semantics.html#the-html-element-0">html</a></code> element created in the earlier step.</p>
+
+   </li><li><p>Return <var title="">doc</var>.</p></li>
+
+  </ol><h3 id="elements"><span class="secno">3.2 </span>Elements</h3><h4 id="semantics-0"><span class="secno">3.2.1 </span>Semantics</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/41">ISSUE-41</a> (Decentralized-extensibility) blocks progress to Last Call</span></p><p>Elements, attributes, and attribute values in HTML are defined
   (by this specification) to have certain meanings (semantics). For
   example, the <code><a href="semantics.html#the-ol-element">ol</a></code> element represents an ordered list, and
   the <code title="attr-lang"><a href="#attr-lang">lang</a></code> attribute represents the

Index: acknowledgements.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/acknowledgements.html,v
retrieving revision 1.393
retrieving revision 1.394
diff -u -d -r1.393 -r1.394
--- acknowledgements.html	20 Oct 2009 10:37:09 -0000	1.393
+++ acknowledgements.html	20 Oct 2009 11:17:21 -0000	1.394
@@ -218,7 +218,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="references.html">&#8592; References</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a>

Index: the-canvas-element.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/the-canvas-element.html,v
retrieving revision 1.395
retrieving revision 1.396
diff -u -d -r1.395 -r1.396
--- the-canvas-element.html	20 Oct 2009 10:37:10 -0000	1.395
+++ the-canvas-element.html	20 Oct 2009 11:17:22 -0000	1.396
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="video.html">&#8592; 4.8.7 The video element</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: iana-considerations.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/iana-considerations.html,v
retrieving revision 1.393
retrieving revision 1.394
diff -u -d -r1.393 -r1.394
--- iana-considerations.html	20 Oct 2009 10:37:09 -0000	1.393
+++ iana-considerations.html	20 Oct 2009 11:17:22 -0000	1.394
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="obsolete.html">&#8592; 11 Obsolete features</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: forms.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/forms.html,v
retrieving revision 1.395
retrieving revision 1.396
diff -u -d -r1.395 -r1.396
--- forms.html	20 Oct 2009 10:37:09 -0000	1.395
+++ forms.html	20 Oct 2009 11:17:21 -0000	1.396
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="tabular-data.html">&#8592; 4.9 Tabular data</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: interactive-elements.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/interactive-elements.html,v
retrieving revision 1.393
retrieving revision 1.394
diff -u -d -r1.393 -r1.394
--- interactive-elements.html	20 Oct 2009 10:37:09 -0000	1.393
+++ interactive-elements.html	20 Oct 2009 11:17:22 -0000	1.394
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="forms.html">&#8592; 4.10 Forms</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: editing.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/editing.html,v
retrieving revision 1.395
retrieving revision 1.396
diff -u -d -r1.395 -r1.396
--- editing.html	20 Oct 2009 10:37:09 -0000	1.395
+++ editing.html	20 Oct 2009 11:17:21 -0000	1.396
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="history.html">&#8592; 6.8 Session history and navigation</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: video.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/video.html,v
retrieving revision 1.395
retrieving revision 1.396
diff -u -d -r1.395 -r1.396
--- video.html	20 Oct 2009 10:37:10 -0000	1.395
+++ video.html	20 Oct 2009 11:17:22 -0000	1.396
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="text-level-semantics.html">&#8592; 4.6 Text-level semantics</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: browsers.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/browsers.html,v
retrieving revision 1.396
retrieving revision 1.397
diff -u -d -r1.396 -r1.397
--- browsers.html	20 Oct 2009 10:37:09 -0000	1.396
+++ browsers.html	20 Oct 2009 11:17:21 -0000	1.397
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="microdata.html">&#8592; 5 Microdata</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: the-xhtml-syntax.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/the-xhtml-syntax.html,v
retrieving revision 1.392
retrieving revision 1.393
diff -u -d -r1.392 -r1.393
--- the-xhtml-syntax.html	20 Oct 2009 10:37:10 -0000	1.392
+++ the-xhtml-syntax.html	20 Oct 2009 11:17:22 -0000	1.393
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="named-character-references.html">&#8592; 9.2 Named character references</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: offline.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/offline.html,v
retrieving revision 1.393
retrieving revision 1.394
diff -u -d -r1.393 -r1.394
--- offline.html	20 Oct 2009 10:37:09 -0000	1.393
+++ offline.html	20 Oct 2009 11:17:22 -0000	1.394
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="browsers.html">&#8592; 6 Web browsers</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: syntax.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/syntax.html,v
retrieving revision 1.396
retrieving revision 1.397
diff -u -d -r1.396 -r1.397
--- syntax.html	20 Oct 2009 10:37:10 -0000	1.396
+++ syntax.html	20 Oct 2009 11:17:22 -0000	1.397
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="comms.html">&#8592; 8 Communication</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: obsolete.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/obsolete.html,v
retrieving revision 1.394
retrieving revision 1.395
diff -u -d -r1.394 -r1.395
--- obsolete.html	20 Oct 2009 10:37:09 -0000	1.394
+++ obsolete.html	20 Oct 2009 11:17:22 -0000	1.395
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="the-xhtml-syntax.html">&#8592; 10 The XHTML syntax</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: named-character-references.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/named-character-references.html,v
retrieving revision 1.394
retrieving revision 1.395
diff -u -d -r1.394 -r1.395
--- named-character-references.html	20 Oct 2009 10:37:09 -0000	1.394
+++ named-character-references.html	20 Oct 2009 11:17:22 -0000	1.395
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="syntax.html">&#8592; 9 The HTML syntax</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: references.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/references.html,v
retrieving revision 1.393
retrieving revision 1.394
diff -u -d -r1.393 -r1.394
--- references.html	20 Oct 2009 10:37:09 -0000	1.393
+++ references.html	20 Oct 2009 11:17:22 -0000	1.394
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="index.html">&#8592; Index</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: semantics.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/semantics.html,v
retrieving revision 1.395
retrieving revision 1.396
diff -u -d -r1.395 -r1.396
--- semantics.html	20 Oct 2009 10:37:09 -0000	1.395
+++ semantics.html	20 Oct 2009 11:17:22 -0000	1.396
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="embedded-content-0.html">&#8592; 3.2.5.1.6 Embedded content</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: index.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/index.html,v
retrieving revision 1.393
retrieving revision 1.394
diff -u -d -r1.393 -r1.394
--- index.html	20 Oct 2009 10:37:09 -0000	1.393
+++ index.html	20 Oct 2009 11:17:22 -0000	1.394
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="iana-considerations.html">&#8592; IANA considerations</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: comms.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/comms.html,v
retrieving revision 1.395
retrieving revision 1.396
diff -u -d -r1.395 -r1.396
--- comms.html	20 Oct 2009 10:37:09 -0000	1.395
+++ comms.html	20 Oct 2009 11:17:21 -0000	1.396
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="editing.html">&#8592; 7 User Interaction</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/spec.html,v
retrieving revision 1.396
retrieving revision 1.397
diff -u -d -r1.396 -r1.397
--- spec.html	20 Oct 2009 10:37:09 -0000	1.396
+++ spec.html	20 Oct 2009 11:17:22 -0000	1.397
@@ -239,7 +239,7 @@
    </dl><p>This specification is available in the following formats: 
     <a href=spec.html>single page HTML</a>,
     <a href=Overview.html>multipage HTML</a>.
-This is revision 1.3352.
+This is revision 1.3353.
    </p>
    <p class=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a>
    © 2009 <a href=http://www.w3.org/><abbr title="World Wide
@@ -414,7 +414,8 @@
      <li><a href=#documents-in-the-dom><span class=secno>3.1.1 </span>Documents in the DOM</a></li>
      <li><a href=#security><span class=secno>3.1.2 </span>Security</a></li>
      <li><a href=#resource-metadata-management><span class=secno>3.1.3 </span>Resource metadata management</a></li>
-     <li><a href=#dom-tree-accessors><span class=secno>3.1.4 </span>DOM tree accessors</a></li></ol></li>
+     <li><a href=#dom-tree-accessors><span class=secno>3.1.4 </span>DOM tree accessors</a></li>
+     <li><a href=#creating-documents><span class=secno>3.1.5 </span>Creating documents</a></li></ol></li>
    <li><a href=#elements><span class=secno>3.2 </span>Elements</a>
     <ol>
      <li><a href=#semantics-0><span class=secno>3.2.1 </span>Semantics</a></li>
@@ -2275,17 +2276,15 @@
   for example when the user <a href=#navigate title=navigate>navigates</a> to
   a <a href=#scroll-to-fragid title=navigate-fragid>fragment identifier</a> on the
   page. </p><p class=note>Interactive user agents typically expose <a href=#the-document-s-current-address>the
-  document's current address</a> in their user interface.</p><p>When a <code>Document</code> is created by a <a href=#concept-script title=concept-script>script</a> using the <code title="">createDocument()</code> API, <a href=#the-document-s-address>the document's
-  address</a> is the same as <a href=#the-document-s-address>the document's address</a> of
-  the <a href=#active-document>active document</a> of the <a href=#script-s-browsing-context>script's browsing
-  context</a>.</p><p><code>Document</code> objects are assumed to be <dfn id=xml-documents>XML
+  document's current address</a> in their user interface.</p><p>When a <code>Document</code> is created by a <a href=#concept-script title=concept-script>script</a> using the <code title=dom-DOMImplementation-createDocument>createDocument()</code>
+  or <code title=dom-DOMHTMLImplementation-createHTMLDocument><a href=#dom-domhtmlimplementation-createhtmldocument>createHTMLDocument()</a></code>
+  APIs, <a href=#the-document-s-address>the document's address</a> is the same as <a href=#the-document-s-address>the
+  document's address</a> of the <a href=#active-document>active document</a> of the
+  <a href=#script-s-browsing-context>script's browsing context</a>.</p><p><code>Document</code> objects are assumed to be <dfn id=xml-documents>XML
   documents</dfn> unless they are flagged as being <dfn id=html-documents>HTML
   documents</dfn> when they are created. Whether a document is an
   <a href=#html-documents title="HTML documents">HTML document</a> or an <a href=#xml-documents title="XML documents">XML document</a> affects the behavior of
-  certain APIs and the case-sensitivity of some selectors.</p><p class=note>A <code>Document</code> object created by the <code title="">createDocument()</code> API on the
-  <code>DOMImplementation</code> object is flagged as an <a href=#xml-documents title="XML documents">XML document</a>. A <code>Document</code>
-  object created by the <a href=#html-parser>HTML parser</a> for a
-  <code><a href=#text-html>text/html</a></code> resource will be flagged as an <a href=#html-documents title="HTML documents">HTML document</a>.</p><h4 id=documents-in-the-dom><span class=secno>3.1.1 </span>Documents in the DOM</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>All <code>Document</code> objects (in user agents implementing
+  certain APIs and the case-sensitivity of some selectors.</p><h4 id=documents-in-the-dom><span class=secno>3.1.1 </span>Documents in the DOM</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>All <code>Document</code> objects (in user agents implementing
   this specification)  also implement
   the <code><a href=#htmldocument>HTMLDocument</a></code> interface, available using
   binding-specific methods. (This is the case whether or not the
@@ -2595,7 +2594,43 @@
 --><hr><p class=note>The <code title=dom-document-dir><a href=#dom-document-dir>dir</a></code>
   attribute on the <code><a href=#htmldocument>HTMLDocument</a></code> interface is defined
   along with the <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> content
-  attribute.</p><h3 id=elements><span class=secno>3.2 </span>Elements</h3><h4 id=semantics-0><span class=secno>3.2.1 </span>Semantics</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed. </i><span><a href=http://www.w3.org/html/wg/tracker/issues/41>ISSUE-41</a> (Decentralized-extensibility) blocks progress to Last Call</span></p><p>Elements, attributes, and attribute values in HTML are defined
+  attribute.</p><h4 id=creating-documents><span class=secno>3.1.5 </span>Creating documents</h4><p><a href=#xml-documents>XML documents</a> can be created from script using the
+  DOM <code title=dom-DOMImplementation-createDocument>createDocument()</code>
+  method on the <code>DOMImplementation</code> interface.</p><p><a href=#html-documents>HTML documents</a> can be created using the <code title=dom-DOMHTMLImplementation-createHTMLDocument><a href=#dom-domhtmlimplementation-createhtmldocument>createHTMLDocument()</a></code>
+  method:</p><pre>[Supplemental, NoInterfaceObject]
+interface <dfn id=domhtmlimplementation>DOMHTMLImplementation</dfn> {
+  <span>Document</span> <a href=#dom-domhtmlimplementation-createhtmldocument title=dom-DOMHTMLImplementation-createHTMLDocument>createHTMLDocument</a>(in DOMString title);
+};
+<span>DOMImplementation</span> implements <a href=#domhtmlimplementation>DOMHTMLImplementation</a>;</pre><p>The <dfn id=dom-domhtmlimplementation-createhtmldocument title=dom-DOMHTMLImplementation-createHTMLDocument><code>createHTMLDocument(<var title="">title</var>)</code></dfn> method, when invoked, must run the
+  following steps:</p><ol><li><p>Let <var title="">doc</var> be a newly created
+   <code>Document</code> object.</p></li>
+
+   <li><p>Mark <var title="">doc</var> as being an <a href=#html-documents title="HTML
+   documents">HTML document</a>.</p></li>
+
+   <li><p>Create a <code>DocumentType</code> node with the <code title="">name</code> attribute set to the string "<code title="">html</code>", and the other attributes specific to
+   <code>DocumentType</code> objects set to the empty string, null,
+   and empty lists, as appropriate. Append the newly created node to
+   <var title="">doc</var>.</p></li>
+
+   <li><p>Create an <code><a href=#the-html-element-0>html</a></code> element, and append it to <var title="">doc</var>.</p></li>
+
+   <li><p>Create a <code><a href=#the-head-element-0>head</a></code> element, and append it to the
+   <code><a href=#the-html-element-0>html</a></code> element created in the previous step.</p>
+
+   </li><li><p>Create a <code><a href=#the-title-element-0>title</a></code> element, and append it to the
+   <code><a href=#the-head-element-0>head</a></code> element created in the previous step.</p>
+
+   </li><li><p>Create a <code>Text</code> node, and set its <code title="">data</code> attribute to the string given by the method's
+   argument (which could be the empty string). Append it to the
+   <code><a href=#the-title-element-0>title</a></code> element created in the previous step.</p>
+
+   </li><li><p>Create a <code><a href=#the-body-element-0>body</a></code> element, and append it to the
+   <code><a href=#the-html-element-0>html</a></code> element created in the earlier step.</p>
+
+   </li><li><p>Return <var title="">doc</var>.</p></li>
+
+  </ol><h3 id=elements><span class=secno>3.2 </span>Elements</h3><h4 id=semantics-0><span class=secno>3.2.1 </span>Semantics</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed. </i><span><a href=http://www.w3.org/html/wg/tracker/issues/41>ISSUE-41</a> (Decentralized-extensibility) blocks progress to Last Call</span></p><p>Elements, attributes, and attribute values in HTML are defined
   (by this specification) to have certain meanings (semantics). For
   example, the <code><a href=#the-ol-element>ol</a></code> element represents an ordered list, and
   the <code title=attr-lang><a href=#attr-lang>lang</a></code> attribute represents the

Index: introduction.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/introduction.html,v
retrieving revision 1.394
retrieving revision 1.395
diff -u -d -r1.394 -r1.395
--- introduction.html	20 Oct 2009 10:37:09 -0000	1.394
+++ introduction.html	20 Oct 2009 11:17:22 -0000	1.395
@@ -218,7 +218,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <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>
-<p>This is revision 1.3352.</p>
+<p>This is revision 1.3353.</p>
    </div><div>
    <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="infrastructure.html">2 Common infrastructure &#8594;</a>
Received on Tuesday, 20 October 2009 11:17:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 20 October 2009 11:17:28 GMT