- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 26 May 2009 02:50:55 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv14112
Modified Files:
Overview.html
Log Message:
Parsing-mode quirks. (bug 6562) (whatwg r3132)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2289
retrieving revision 1.2290
diff -u -d -r1.2289 -r1.2290
--- Overview.html 26 May 2009 02:19:13 -0000 1.2289
+++ Overview.html 26 May 2009 02:50:51 -0000 1.2290
@@ -6807,20 +6807,6 @@
<a href="#quirks-mode">quirks mode</a> by the <a href="#html-parser">HTML parser</a>, in which
case it must instead return the literal string "<code title="">BackCompat</code>".</p>
- <div class="XXX">
-
- <p>As far as parsing goes, the quirks I know of are:</p>
-
- <ul><li>Comment parsing is different.</li>
-
- <li><code><a href="#the-p-element">p</a></code> can contain <code><a href="#the-table-element">table</a></code></li>
-
- <li>Safari and IE have special parsing rules for <% ... %>
- (even in standards mode, though clearly this should be
- quirks-only).</li>
-
- </ul></div>
-
<hr></div><dl class="domintro"><dt><var title="">document</var> . <code title="dom-document-charset"><a href="#dom-document-charset">charset</a></code> [ = <var title="">value</var> ]</dt>
<dd>
<p>Returns the <a href="#document-s-character-encoding">document's character encoding</a>.</p>
@@ -55540,9 +55526,9 @@
value of the <code title="">doctype</code> attribute of the
<code>Document</code> object.</p>
- <p id="quirks-mode-doctypes">Then, if the DOCTYPE
- token matches one of the conditions in the following list, then
- set the document to <a href="#quirks-mode">quirks mode</a>:</p>
+ <p id="quirks-mode-doctypes">Then, if the DOCTYPE token matches
+ one of the conditions in the following list, then set the
+ <code>Document</code> to <a href="#quirks-mode">quirks mode</a>:</p>
<ul class="brief"><li> The <i>force-quirks flag</i> is set to <i>on</i>. </li>
<li> The name is set to anything other than "<code title="">HTML</code>". </li>
@@ -55621,9 +55607,9 @@
<li> The system identifier is set to: "<code title="">http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd</code>" </li>
<li> The system identifier is missing and the public identifier starts with: "<code title="">-//W3C//DTD HTML 4.01 Frameset//<!--EN--></code>" </li>
<li> The system identifier is missing and the public identifier starts with: "<code title="">-//W3C//DTD HTML 4.01 Transitional//<!--EN--></code>" </li>
- </ul><p>Otherwise, if the DOCTYPE
- token matches one of the conditions in the following list, then
- set the document to <a href="#limited-quirks-mode">limited quirks mode</a>:</p>
+ </ul><p>Otherwise, if the DOCTYPE token matches one of the conditions
+ in the following list, then set the <code>Document</code> to
+ <a href="#limited-quirks-mode">limited quirks mode</a>:</p>
<ul class="brief"><li> The public identifier starts with: "<code title="">-//W3C//DTD XHTML 1.0 Frameset//<!--EN--></code>" </li>
<li> The public identifier starts with: "<code title="">-//W3C//DTD XHTML 1.0 Transitional//<!--EN--></code>" </li>
@@ -55644,7 +55630,7 @@
<p><a href="#parse-error">Parse error</a>.</p>
- <p>Set the document to <a href="#quirks-mode">quirks mode</a>.</p>
+ <p>Set the <code>Document</code> to <a href="#quirks-mode">quirks mode</a>.</p>
<p>Switch the <a href="#insertion-mode">insertion mode</a> to "<a href="#the-before-html-insertion-mode" title="insertion mode: before html">before html</a>", then
reprocess the current token.</p>
@@ -56893,10 +56879,14 @@
<dt>A start tag whose tag name is "table"</dt>
<dd>
- <p>If the <a href="#stack-of-open-elements">stack of open elements</a> <a href="#has-an-element-in-scope" title="has
- an element in scope">has a <code>p</code> element in
- scope</a>, then act as if an end tag with the tag name
- "p" had been seen.</p> <!-- XXX quirks: don't do this -->
+ <p>If the <code>Document</code> is <em>not</em> set to
+ <a href="#quirks-mode">quirks mode</a>, and the <a href="#stack-of-open-elements">stack of open
+ elements</a> <a href="#has-an-element-in-scope" title="has an element in scope">has a
+ <code>p</code> element in scope</a>, then act as if an end tag
+ with the tag name "p" had been seen.</p> <!-- i hate myself (this
+ quirk was basically caused by acid2; if i'd realised we could
+ change the specs when i wrote acid2, we could have avoided having
+ any parsing-mode quirks) -Hixie -->
<p><a href="#insert-an-html-element">Insert an HTML element</a> for the token.</p>
@@ -56945,7 +56935,7 @@
<p>If the <a href="#stack-of-open-elements">stack of open elements</a> <a href="#has-an-element-in-scope" title="has
an element in scope">has a <code>p</code> element in
scope</a>, then act as if an end tag with the tag name
- "p" had been seen.</p> <!-- XXX quirks: don't do this -->
+ "p" had been seen.</p>
<p><a href="#insert-an-html-element">Insert an HTML element</a> for the token. Immediately
pop the <a href="#current-node">current node</a> off the <a href="#stack-of-open-elements">stack of open
Received on Tuesday, 26 May 2009 02:51:05 UTC