Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (1) Support <annotation-xml encoding='text/html'> in the parse…
…r. (experimental)

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9887

git-svn-id: http://svn.whatwg.org/webapps@5509 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 26, 2010
1 parent 9c03ee2 commit 959bc4c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
7 changes: 6 additions & 1 deletion complete.html
Expand Up @@ -77325,7 +77325,8 @@ <h5 id=the-insertion-mode><span class=secno>12.2.3.1 </span>The insertion mode</
<code><a href=#the-td-element>td</a></code>, <code><a href=#the-textarea-element>textarea</a></code>, <code><a href=#the-tfoot-element>tfoot</a></code>,
<code><a href=#the-th-element>th</a></code>, <code><a href=#the-thead-element>thead</a></code>, <code><a href=#the-title-element-0>title</a></code>,
<code><a href=#the-tr-element>tr</a></code>, <code><a href=#the-ul-element>ul</a></code>, <code><a href=#the-wbr-element>wbr</a></code>,
<code><a href=#xmp>xmp</a></code>, and SVG's <code>foreignObject</code>.</dd>
<code><a href=#xmp>xmp</a></code>, MathML's <code>annotation-xml</code>, and SVG's
<code>foreignObject</code>.</dd>

<dt><dfn id=formatting>Formatting</dfn></dt>
<dd><p>The following HTML elements are those that end up in the
Expand Down Expand Up @@ -77372,6 +77373,7 @@ <h5 id=the-insertion-mode><span class=secno>12.2.3.1 </span>The insertion mode</
<li><code><a href=#the-th-element>th</a></code> in the HTML namespace</li>
<li><code><a href=#the-marquee-element>marquee</a></code> in the HTML namespace</li>
<li><code><a href=#the-object-element>object</a></code> in the HTML namespace</li>
<li><code title="">annotation-xml</code> in the SVG namespace</li>
<li><code title="">foreignObject</code> in the SVG namespace</li>
</ul><p>The <a href=#stack-of-open-elements>stack of open elements</a> is said to <dfn id=has-an-element-in-list-item-scope title="has an element in list item scope">have an element in list
item scope</dfn> when it <a href=#has-an-element-in-the-specific-scope>has an element in the specific
Expand Down Expand Up @@ -82880,6 +82882,8 @@ <h5 id=parsing-main-inselect><span class=secno>12.2.5.19 </span>The "<dfn title=
<dt>A start tag, if the <a href=#current-node>current node</a> is a <code title="">foreignObject</code> element in the <a href=#svg-namespace>SVG namespace</a>.</dt>
<dt>A start tag, if the <a href=#current-node>current node</a> is a <code title="">desc</code> element in the <a href=#svg-namespace>SVG namespace</a>.</dt>
<dt>A start tag, if the <a href=#current-node>current node</a> is a <code title="">title</code> element in the <a href=#svg-namespace>SVG namespace</a>.</dt>
<dt>A start tag, if the <a href=#current-node>current node</a> is an <code title="">annotation-xml</code> element in the <a href=#mathml-namespace>MathML namespace</a> whose start tag token had an attribute with the name "encoding" whose value was an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code title="">text/html</code>".</dt>
<dt>A start tag, if the <a href=#current-node>current node</a> is an <code title="">annotation-xml</code> element in the <a href=#mathml-namespace>MathML namespace</a> whose start tag token had an attribute with the name "encoding" whose value was an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code title="">application/xhtml+xml</code>".</dt>
<dt>A start tag, if the <a href=#current-node>current node</a> is an element in the <a href=#html-namespace-0>HTML namespace</a>.</dt>
<dt>Any other end tag</dt>
<dd>
Expand Down Expand Up @@ -82929,6 +82933,7 @@ <h5 id=parsing-main-inselect><span class=secno>12.2.5.19 </span>The "<dfn title=
<li>an <code title="">mn</code> element in the <a href=#mathml-namespace>MathML namespace</a></li>
<li>an <code title="">ms</code> element in the <a href=#mathml-namespace>MathML namespace</a></li>
<li>an <code title="">mtext</code> element in the <a href=#mathml-namespace>MathML namespace</a></li>
<li>an <code title="">annotation-xml</code> element in the <a href=#mathml-namespace>MathML namespace</a></li>
<li>a <code title="">foreignObject</code> element in the <a href=#svg-namespace>SVG namespace</a></li>
<li>a <code title="">desc</code> element in the <a href=#svg-namespace>SVG namespace</a></li>
<li>a <code title="">title</code> element in the <a href=#svg-namespace>SVG namespace</a></li>
Expand Down
7 changes: 6 additions & 1 deletion index
Expand Up @@ -73243,7 +73243,8 @@ interface <dfn id=messageport>MessagePort</dfn> {
<code><a href=#the-td-element>td</a></code>, <code><a href=#the-textarea-element>textarea</a></code>, <code><a href=#the-tfoot-element>tfoot</a></code>,
<code><a href=#the-th-element>th</a></code>, <code><a href=#the-thead-element>thead</a></code>, <code><a href=#the-title-element-0>title</a></code>,
<code><a href=#the-tr-element>tr</a></code>, <code><a href=#the-ul-element>ul</a></code>, <code><a href=#the-wbr-element>wbr</a></code>,
<code><a href=#xmp>xmp</a></code>, and SVG's <code>foreignObject</code>.</dd>
<code><a href=#xmp>xmp</a></code>, MathML's <code>annotation-xml</code>, and SVG's
<code>foreignObject</code>.</dd>

<dt><dfn id=formatting>Formatting</dfn></dt>
<dd><p>The following HTML elements are those that end up in the
Expand Down Expand Up @@ -73290,6 +73291,7 @@ interface <dfn id=messageport>MessagePort</dfn> {
<li><code><a href=#the-th-element>th</a></code> in the HTML namespace</li>
<li><code><a href=#the-marquee-element>marquee</a></code> in the HTML namespace</li>
<li><code><a href=#the-object-element>object</a></code> in the HTML namespace</li>
<li><code title="">annotation-xml</code> in the SVG namespace</li>
<li><code title="">foreignObject</code> in the SVG namespace</li>
</ul><p>The <a href=#stack-of-open-elements>stack of open elements</a> is said to <dfn id=has-an-element-in-list-item-scope title="has an element in list item scope">have an element in list
item scope</dfn> when it <a href=#has-an-element-in-the-specific-scope>has an element in the specific
Expand Down Expand Up @@ -78798,6 +78800,8 @@ document.body.appendChild(text);
<dt>A start tag, if the <a href=#current-node>current node</a> is a <code title="">foreignObject</code> element in the <a href=#svg-namespace>SVG namespace</a>.</dt>
<dt>A start tag, if the <a href=#current-node>current node</a> is a <code title="">desc</code> element in the <a href=#svg-namespace>SVG namespace</a>.</dt>
<dt>A start tag, if the <a href=#current-node>current node</a> is a <code title="">title</code> element in the <a href=#svg-namespace>SVG namespace</a>.</dt>
<dt>A start tag, if the <a href=#current-node>current node</a> is an <code title="">annotation-xml</code> element in the <a href=#mathml-namespace>MathML namespace</a> whose start tag token had an attribute with the name "encoding" whose value was an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code title="">text/html</code>".</dt>
<dt>A start tag, if the <a href=#current-node>current node</a> is an <code title="">annotation-xml</code> element in the <a href=#mathml-namespace>MathML namespace</a> whose start tag token had an attribute with the name "encoding" whose value was an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code title="">application/xhtml+xml</code>".</dt>
<dt>A start tag, if the <a href=#current-node>current node</a> is an element in the <a href=#html-namespace-0>HTML namespace</a>.</dt>
<dt>Any other end tag</dt>
<dd>
Expand Down Expand Up @@ -78847,6 +78851,7 @@ document.body.appendChild(text);
<li>an <code title="">mn</code> element in the <a href=#mathml-namespace>MathML namespace</a></li>
<li>an <code title="">ms</code> element in the <a href=#mathml-namespace>MathML namespace</a></li>
<li>an <code title="">mtext</code> element in the <a href=#mathml-namespace>MathML namespace</a></li>
<li>an <code title="">annotation-xml</code> element in the <a href=#mathml-namespace>MathML namespace</a></li>
<li>a <code title="">foreignObject</code> element in the <a href=#svg-namespace>SVG namespace</a></li>
<li>a <code title="">desc</code> element in the <a href=#svg-namespace>SVG namespace</a></li>
<li>a <code title="">title</code> element in the <a href=#svg-namespace>SVG namespace</a></li>
Expand Down
7 changes: 6 additions & 1 deletion source
Expand Up @@ -88319,7 +88319,8 @@ interface <dfn>SQLTransactionSync</dfn> {
<code>td</code>, <code>textarea</code>, <code>tfoot</code>,
<code>th</code>, <code>thead</code>, <code>title</code>,
<code>tr</code>, <code>ul</code>, <code>wbr</code>,
<code>xmp</code>, and SVG's <code>foreignObject</code>.</p></dd>
<code>xmp</code>, MathML's <code>annotation-xml</code>, and SVG's
<code>foreignObject</code>.</p></dd>

<dt><dfn>Formatting</dfn></dt>
<dd><p>The following HTML elements are those that end up in the
Expand Down Expand Up @@ -88376,6 +88377,7 @@ interface <dfn>SQLTransactionSync</dfn> {
<li><code>th</code> in the HTML namespace</li>
<li><code>marquee</code> in the HTML namespace</li>
<li><code>object</code> in the HTML namespace</li>
<li><code title="">annotation-xml</code> in the SVG namespace</li>
<li><code title="">foreignObject</code> in the SVG namespace</li>
</ul>

Expand Down Expand Up @@ -94568,6 +94570,8 @@ document.body.appendChild(text);
<dt>A start tag, if the <span>current node</span> is a <code title="">foreignObject</code> element in the <span>SVG namespace</span>.</dt>
<dt>A start tag, if the <span>current node</span> is a <code title="">desc</code> element in the <span>SVG namespace</span>.</dt>
<dt>A start tag, if the <span>current node</span> is a <code title="">title</code> element in the <span>SVG namespace</span>.</dt>
<dt>A start tag, if the <span>current node</span> is an <code title="">annotation-xml</code> element in the <span>MathML namespace</span> whose start tag token had an attribute with the name "encoding" whose value was an <span>ASCII case-insensitive</span> match for the string "<code title="">text/html</code>".</dt>
<dt>A start tag, if the <span>current node</span> is an <code title="">annotation-xml</code> element in the <span>MathML namespace</span> whose start tag token had an attribute with the name "encoding" whose value was an <span>ASCII case-insensitive</span> match for the string "<code title="">application/xhtml+xml</code>".</dt>
<dt>A start tag, if the <span>current node</span> is an element in the <span>HTML namespace</span>.</dt>
<dt>Any other end tag</dt>
<dd>
Expand Down Expand Up @@ -94619,6 +94623,7 @@ document.body.appendChild(text);
<li>an <code title="">mn</code> element in the <span>MathML namespace</span></li>
<li>an <code title="">ms</code> element in the <span>MathML namespace</span></li>
<li>an <code title="">mtext</code> element in the <span>MathML namespace</span></li>
<li>an <code title="">annotation-xml</code> element in the <span>MathML namespace</span></li>
<li>a <code title="">foreignObject</code> element in the <span>SVG namespace</span></li>
<li>a <code title="">desc</code> element in the <span>SVG namespace</span></li>
<li>a <code title="">title</code> element in the <span>SVG namespace</span></li>
Expand Down

0 comments on commit 959bc4c

Please sign in to comment.