- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 19 Aug 2011 04:47:11 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv27777
Modified Files:
history.html infrastructure.html spec.html
Log Message:
DOM Core compatibility (Document.contentType values) (whatwg r6515)
[updated by splitter]
Index: infrastructure.html
===================================================================
RCS file: /sources/public/html5/spec/infrastructure.html,v
retrieving revision 1.1099
retrieving revision 1.1100
diff -u -d -r1.1099 -r1.1100
--- infrastructure.html 18 Aug 2011 00:47:13 -0000 1.1099
+++ infrastructure.html 19 Aug 2011 04:47:08 -0000 1.1100
@@ -937,7 +937,7 @@
<li><dfn id="dom-event-target" title="dom-Event-target"><code>target</code></dfn> attribute</li>
- <li>The <dfn id="document-s-character-encoding" title="document's character encoding">character encoding</dfn> of a <code><a href="#document">Document</a></code></li>
+ <li>The <dfn id="document-s-character-encoding" title="document's character encoding">character encoding</dfn> and <span title="concept-document-media-type">media type</span> of a <code><a href="#document">Document</a></code></li>
<li>The distinction between <dfn id="xml-documents">XML documents</dfn> and <dfn id="html-documents">HTML documents</dfn></li>
<li>The terms <dfn id="quirks-mode">quirks mode</dfn>, <dfn id="limited-quirks-mode">limited-quirks mode</dfn>, and <dfn id="no-quirks-mode">no-quirks mode</dfn></li>
<li>The algorithm to <dfn id="concept-node-clone" title="concept-node-clone">clone</dfn> a <code><a href="#node">Node</a></code>, and the concept of <dfn id="concept-node-clone-ext" title="concept-node-clone-ext">cloning steps</dfn> used by tat algorithm</li>
Index: history.html
===================================================================
RCS file: /sources/public/html5/spec/history.html,v
retrieving revision 1.1066
retrieving revision 1.1067
diff -u -d -r1.1066 -r1.1067
--- history.html 17 Aug 2011 23:46:32 -0000 1.1066
+++ history.html 19 Aug 2011 04:46:52 -0000 1.1067
@@ -1577,14 +1577,12 @@
<p>When an HTML document is to be loaded in a <a href="browsers.html#browsing-context">browsing
context</a>, the user agent must <a href="webappapis.html#queue-a-task">queue a task</a> to
<a href="#create-a-document-object">create a <code>Document</code> object</a>, mark it as being
- an <a href="infrastructure.html#html-documents" title="HTML documents">HTML document</a>, create an
- <a href="parsing.html#html-parser">HTML parser</a>, and associate it with the document. Each
- <a href="webappapis.html#concept-task" title="concept-task">task</a> that the <a href="webappapis.html#networking-task-source">networking
- task source</a> places on the <a href="webappapis.html#task-queue">task queue</a> while the
- <a href="fetching-resources.html#fetch" title="fetch">fetching algorithm</a> runs must then fill
- the parser's <a href="parsing.html#the-input-stream">input stream</a> with the fetched bytes and
- cause the <a href="parsing.html#html-parser">HTML parser</a> to perform the appropriate
- processing of the input stream.</p>
+ an <a href="infrastructure.html#html-documents" title="HTML documents">HTML document</a>, set its <span title="concept-document-media-type">media type</span> to "<code title="">text/html</code>", create an <a href="parsing.html#html-parser">HTML parser</a>, and
+ associate it with the document. Each <a href="webappapis.html#concept-task" title="concept-task">task</a> that the <a href="webappapis.html#networking-task-source">networking task
+ source</a> places on the <a href="webappapis.html#task-queue">task queue</a> while the <a href="fetching-resources.html#fetch" title="fetch">fetching algorithm</a> runs must then fill the
+ parser's <a href="parsing.html#the-input-stream">input stream</a> with the fetched bytes and cause
+ the <a href="parsing.html#html-parser">HTML parser</a> to perform the appropriate processing
+ of the input stream.</p>
<p class="note">The <a href="parsing.html#the-input-stream">input stream</a> converts bytes into
characters for use in the <a href="tokenization.html#tokenization" title="tokenization">tokenizer</a>. This process relies, in part,
@@ -1616,7 +1614,7 @@
<p>When faced with displaying an XML file inline, user agents must
first <a href="#create-a-document-object">create a <code>Document</code> object</a>, following
the requirements of the XML and Namespaces in XML recommendations,
- RFC 3023, DOM3 Core, and other relevant specifications. <a href="references.html#refsXML">[XML]</a> <a href="references.html#refsXMLNS">[XMLNS]</a> <a href="references.html#refsRFC3023">[RFC3023]</a> <a href="references.html#refsDOMCORE">[DOMCORE]</a></p>
+ RFC 3023, DOM Core, and other relevant specifications. <a href="references.html#refsXML">[XML]</a> <a href="references.html#refsXMLNS">[XMLNS]</a> <a href="references.html#refsRFC3023">[RFC3023]</a> <a href="references.html#refsDOMCORE">[DOMCORE]</a></p>
<p>The actual HTTP headers and other metadata, not the headers as
mutated or implied by the algorithms given in this specification,
@@ -1675,15 +1673,17 @@
<p>When a plain text document is to be loaded in a <a href="browsers.html#browsing-context">browsing
context</a>, the user agent should <a href="webappapis.html#queue-a-task">queue a task</a> to
<a href="#create-a-document-object">create a <code>Document</code> object</a>, mark it as being
- an <a href="infrastructure.html#html-documents" title="HTML documents">HTML document</a>, create an
- <a href="parsing.html#html-parser">HTML parser</a>, associate it with the document, act as if
- the tokenizer had emitted a start tag token with the tag name "pre"
- followed by a single U+000A LINE FEED (LF) character, and switch the <a href="parsing.html#html-parser">HTML parser</a>'s tokenizer
- to the <a href="tokenization.html#plaintext-state">PLAINTEXT state</a>. Each <a href="webappapis.html#concept-task" title="concept-task">task</a> that the <a href="webappapis.html#networking-task-source">networking task
- source</a> places on the <a href="webappapis.html#task-queue">task queue</a> while the <a href="fetching-resources.html#fetch" title="fetch">fetching algorithm</a> runs must then fill the
- parser's <a href="parsing.html#the-input-stream">input stream</a> with the fetched bytes and cause
- the <a href="parsing.html#html-parser">HTML parser</a> to perform the appropriate processing
- of the input stream.</p>
+ an <a href="infrastructure.html#html-documents" title="HTML documents">HTML document</a>, set its <span title="concept-document-media-type">media type</span> to "<code title="">text/plain</code>", create an <a href="parsing.html#html-parser">HTML parser</a>,
+ associate it with the document, act as if the tokenizer had emitted
+ a start tag token with the tag name "pre" followed by a single
+ U+000A LINE FEED (LF) character, and switch
+ the <a href="parsing.html#html-parser">HTML parser</a>'s tokenizer to the <a href="tokenization.html#plaintext-state">PLAINTEXT
+ state</a>. Each <a href="webappapis.html#concept-task" title="concept-task">task</a> that the
+ <a href="webappapis.html#networking-task-source">networking task source</a> places on the <a href="webappapis.html#task-queue">task
+ queue</a> while the <a href="fetching-resources.html#fetch" title="fetch">fetching algorithm</a>
+ runs must then fill the parser's <a href="parsing.html#the-input-stream">input stream</a> with the
+ fetched bytes and cause the <a href="parsing.html#html-parser">HTML parser</a> to perform the
+ appropriate processing of the input stream.</p>
<p>The rules for how to convert the bytes of the plain text document
into actual characters, and the rules for actually rendering the
@@ -1726,12 +1726,14 @@
<p>When an image resource is to be loaded in a <a href="browsers.html#browsing-context">browsing
context</a>, the user agent should <a href="#create-a-document-object">create a
- <code>Document</code> object</a>, mark it as being an <a href="infrastructure.html#html-documents" title="HTML documents">HTML document</a>, append an
- <code><a href="semantics.html#the-html-element">html</a></code> element to the <code><a href="infrastructure.html#document">Document</a></code>, append a
- <code><a href="semantics.html#the-head-element">head</a></code> element and a <code><a href="sections.html#the-body-element">body</a></code> element to the
- <code><a href="semantics.html#the-html-element">html</a></code> element, append an <code><a href="embedded-content-1.html#the-img-element">img</a></code> to the
- <code><a href="sections.html#the-body-element">body</a></code> element, and set the <code title="attr-img-src"><a href="embedded-content-1.html#attr-img-src">src</a></code> attribute of the <code><a href="embedded-content-1.html#the-img-element">img</a></code>
- element to the address of the image.</p>
+ <code>Document</code> object</a>, mark it as being an <a href="infrastructure.html#html-documents" title="HTML documents">HTML document</a>, set its <span title="concept-document-media-type">media type</span> to the sniffed
+ MIME type of the resource (<var title="">type</var> in the
+ <a href="#navigate">navigate</a> algorithm), append an <code><a href="semantics.html#the-html-element">html</a></code>
+ element to the <code><a href="infrastructure.html#document">Document</a></code>, append a <code><a href="semantics.html#the-head-element">head</a></code>
+ element and a <code><a href="sections.html#the-body-element">body</a></code> element to the <code><a href="semantics.html#the-html-element">html</a></code>
+ element, append an <code><a href="embedded-content-1.html#the-img-element">img</a></code> to the <code><a href="sections.html#the-body-element">body</a></code>
+ element, and set the <code title="attr-img-src"><a href="embedded-content-1.html#attr-img-src">src</a></code> attribute
+ of the <code><a href="embedded-content-1.html#the-img-element">img</a></code> element to the address of the image.</p>
<p>Then, the user agent must act as if it had <a href="the-end.html#stop-parsing" title="stop
@@ -1757,12 +1759,16 @@
<p>When a resource that requires an external resource to be rendered
is to be loaded in a <a href="browsers.html#browsing-context">browsing context</a>, the user agent
should <a href="#create-a-document-object">create a <code>Document</code> object</a>, mark it
- as being an <a href="infrastructure.html#html-documents" title="HTML documents">HTML document</a>,
- append an <code><a href="semantics.html#the-html-element">html</a></code> element to the <code><a href="infrastructure.html#document">Document</a></code>,
- append a <code><a href="semantics.html#the-head-element">head</a></code> element and a <code><a href="sections.html#the-body-element">body</a></code> element
- to the <code><a href="semantics.html#the-html-element">html</a></code> element, append an <code><a href="the-iframe-element.html#the-embed-element">embed</a></code> to
- the <code><a href="sections.html#the-body-element">body</a></code> element, and set the <code title="attr-embed-src"><a href="the-iframe-element.html#attr-embed-src">src</a></code> attribute of the
- <code><a href="the-iframe-element.html#the-embed-element">embed</a></code> element to the address of the resource.</p>
+ as being an <a href="infrastructure.html#html-documents" title="HTML documents">HTML document</a>, set
+ its <span title="concept-document-media-type">media type</span> to
+ the sniffed MIME type of the resource (<var title="">type</var> in
+ the <a href="#navigate">navigate</a> algorithm), append an <code><a href="semantics.html#the-html-element">html</a></code>
+ element to the <code><a href="infrastructure.html#document">Document</a></code>, append a <code><a href="semantics.html#the-head-element">head</a></code>
+ element and a <code><a href="sections.html#the-body-element">body</a></code> element to the <code><a href="semantics.html#the-html-element">html</a></code>
+ element, append an <code><a href="the-iframe-element.html#the-embed-element">embed</a></code> to the <code><a href="sections.html#the-body-element">body</a></code>
+ element, and set the <code title="attr-embed-src"><a href="the-iframe-element.html#attr-embed-src">src</a></code>
+ attribute of the <code><a href="the-iframe-element.html#the-embed-element">embed</a></code> element to the address of the
+ resource.</p>
<p>Then, the user agent must act as if it had <a href="the-end.html#stop-parsing" title="stop
@@ -1792,11 +1798,11 @@
<p>When the user agent is to display a user agent page inline in a
<a href="browsers.html#browsing-context">browsing context</a>, the user agent should <a href="#create-a-document-object">create a
- <code>Document</code> object</a>, mark it as being an <a href="infrastructure.html#html-documents" title="HTML documents">HTML document</a>, and then either
- associate that <code><a href="infrastructure.html#document">Document</a></code> with a custom rendering that is
- not rendered using the normal <code><a href="infrastructure.html#document">Document</a></code> rendering rules,
- or mutate that <code><a href="infrastructure.html#document">Document</a></code> until it represents the content
- the user agent wants to render.</p>
+ <code>Document</code> object</a>, mark it as being an <a href="infrastructure.html#html-documents" title="HTML documents">HTML document</a>, set its <span title="concept-document-media-type">media type</span> to "<code title="">text/html</code>", and then either associate that
+ <code><a href="infrastructure.html#document">Document</a></code> with a custom rendering that is not rendered
+ using the normal <code><a href="infrastructure.html#document">Document</a></code> rendering rules, or mutate
+ that <code><a href="infrastructure.html#document">Document</a></code> until it represents the content the user
+ agent wants to render.</p>
<p>Once the page has been set up, the user agent must act as if it
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1644
retrieving revision 1.1645
diff -u -d -r1.1644 -r1.1645
--- spec.html 19 Aug 2011 03:46:25 -0000 1.1644
+++ spec.html 19 Aug 2011 04:47:09 -0000 1.1645
@@ -350,7 +350,7 @@
<a href="Overview.html">single page HTML</a>,
<a href="spec.html">multipage HTML</a>,
<a href="author/">web developer edition</a>.
-This is revision 1.5214.
+This is revision 1.5215.
</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2011 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Friday, 19 August 2011 04:47:20 UTC