Skip to content

Commit

Permalink
[cgiow] (3) Make fragment parsing work even better on non-HTML elemen…
Browse files Browse the repository at this point in the history
…ts...

Affected topics: HTML Syntax and Parsing

git-svn-id: http://svn.whatwg.org/webapps@8006 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 1, 2013
1 parent f465819 commit a7e9b3d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions complete.html
Expand Up @@ -87925,7 +87925,7 @@ <h5 id=markup-declaration-open-state><span class=secno>12.2.4.45 </span><dfn>Mar
case-insensitive</a> match for the word "DOCTYPE", then consume
those characters and switch to the <a href=#doctype-state>DOCTYPE state</a>.</p>

<p>Otherwise, if there is a <a href=#current-node>current node</a> and it is not
<p>Otherwise, if there is an <a href=#adjusted-current-node>adjusted current node</a> and it is not
an element in the <a href=#html-namespace-0>HTML namespace</a> and the next seven
characters are a <a href=#case-sensitive>case-sensitive</a> match for the string
"[CDATA[" (the five uppercase letters "CDATA" with a U+005B LEFT
Expand Down Expand Up @@ -92944,11 +92944,11 @@ <h6 id=parsing-main-inselect><span class=secno>12.2.5.4.16 </span>The "<dfn titl
<dt>Any other start tag</dt>
<dd>

<p>If the <a href=#current-node>current node</a> is an element in the <a href=#mathml-namespace>MathML namespace</a>,
<p>If the <a href=#adjusted-current-node>adjusted current node</a> is an element in the <a href=#mathml-namespace>MathML namespace</a>,
<a href=#adjust-mathml-attributes>adjust MathML attributes</a> for the token. (This fixes the case of MathML attributes
that are not all lowercase.)</p>

<p>If the <a href=#current-node>current node</a> is an element in the <a href=#svg-namespace>SVG namespace</a>, and the
<p>If the <a href=#adjusted-current-node>adjusted current node</a> is an element in the <a href=#svg-namespace>SVG namespace</a>, and the
token's tag name is one of the ones in the first column of the following table, change the tag
name to the name given in the corresponding cell in the second column. (This fixes the case of
SVG elements that are not all lowercase.)</p>
Expand Down Expand Up @@ -92991,15 +92991,15 @@ <h6 id=parsing-main-inselect><span class=secno>12.2.5.4.16 </span>The "<dfn titl
<tr><td> <code title="">radialgradient</code> <td> <code title="">radialGradient</code>
<!--<tr> <td> <code title="">solidcolor</code> <td> <code title="">solidColor</code> (SVG 1.2)-->
<tr><td> <code title="">textpath</code> <td> <code title="">textPath</code>
</table><p>If the <a href=#current-node>current node</a> is an element in the <a href=#svg-namespace>SVG namespace</a>,
</table><p>If the <a href=#adjusted-current-node>adjusted current node</a> is an element in the <a href=#svg-namespace>SVG namespace</a>,
<a href=#adjust-svg-attributes>adjust SVG attributes</a> for the token. (This fixes the case of SVG attributes that
are not all lowercase.)</p>

<p><a href=#adjust-foreign-attributes>Adjust foreign attributes</a> for the token. (This fixes the use of namespaced
attributes, in particular XLink in SVG.)</p>

<p><a href=#insert-a-foreign-element>Insert a foreign element</a> for the token, in the same namespace as the
<a href=#current-node>current node</a>.</p>
<a href=#adjusted-current-node>adjusted current node</a>.</p>

<p>If the token has its <i>self-closing flag</i> set, then run the appropriate steps from the
following list:</p>
Expand Down
10 changes: 5 additions & 5 deletions index
Expand Up @@ -87925,7 +87925,7 @@ dictionary <dfn id=storageeventinit>StorageEventInit</dfn> : <a href=#eventinit>
case-insensitive</a> match for the word "DOCTYPE", then consume
those characters and switch to the <a href=#doctype-state>DOCTYPE state</a>.</p>

<p>Otherwise, if there is a <a href=#current-node>current node</a> and it is not
<p>Otherwise, if there is an <a href=#adjusted-current-node>adjusted current node</a> and it is not
an element in the <a href=#html-namespace-0>HTML namespace</a> and the next seven
characters are a <a href=#case-sensitive>case-sensitive</a> match for the string
"[CDATA[" (the five uppercase letters "CDATA" with a U+005B LEFT
Expand Down Expand Up @@ -92944,11 +92944,11 @@ document.body.appendChild(text);
<dt>Any other start tag</dt>
<dd>

<p>If the <a href=#current-node>current node</a> is an element in the <a href=#mathml-namespace>MathML namespace</a>,
<p>If the <a href=#adjusted-current-node>adjusted current node</a> is an element in the <a href=#mathml-namespace>MathML namespace</a>,
<a href=#adjust-mathml-attributes>adjust MathML attributes</a> for the token. (This fixes the case of MathML attributes
that are not all lowercase.)</p>

<p>If the <a href=#current-node>current node</a> is an element in the <a href=#svg-namespace>SVG namespace</a>, and the
<p>If the <a href=#adjusted-current-node>adjusted current node</a> is an element in the <a href=#svg-namespace>SVG namespace</a>, and the
token's tag name is one of the ones in the first column of the following table, change the tag
name to the name given in the corresponding cell in the second column. (This fixes the case of
SVG elements that are not all lowercase.)</p>
Expand Down Expand Up @@ -92991,15 +92991,15 @@ document.body.appendChild(text);
<tr><td> <code title="">radialgradient</code> <td> <code title="">radialGradient</code>
<!--<tr> <td> <code title="">solidcolor</code> <td> <code title="">solidColor</code> (SVG 1.2)-->
<tr><td> <code title="">textpath</code> <td> <code title="">textPath</code>
</table><p>If the <a href=#current-node>current node</a> is an element in the <a href=#svg-namespace>SVG namespace</a>,
</table><p>If the <a href=#adjusted-current-node>adjusted current node</a> is an element in the <a href=#svg-namespace>SVG namespace</a>,
<a href=#adjust-svg-attributes>adjust SVG attributes</a> for the token. (This fixes the case of SVG attributes that
are not all lowercase.)</p>

<p><a href=#adjust-foreign-attributes>Adjust foreign attributes</a> for the token. (This fixes the use of namespaced
attributes, in particular XLink in SVG.)</p>

<p><a href=#insert-a-foreign-element>Insert a foreign element</a> for the token, in the same namespace as the
<a href=#current-node>current node</a>.</p>
<a href=#adjusted-current-node>adjusted current node</a>.</p>

<p>If the token has its <i>self-closing flag</i> set, then run the appropriate steps from the
following list:</p>
Expand Down
10 changes: 5 additions & 5 deletions source
Expand Up @@ -98197,7 +98197,7 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
case-insensitive</span> match for the word "DOCTYPE", then consume
those characters and switch to the <span>DOCTYPE state</span>.</p>

<p>Otherwise, if there is a <span>current node</span> and it is not
<p>Otherwise, if there is an <span>adjusted current node</span> and it is not
an element in the <span>HTML namespace</span> and the next seven
characters are a <span>case-sensitive</span> match for the string
"[CDATA[" (the five uppercase letters "CDATA" with a U+005B LEFT
Expand Down Expand Up @@ -103809,11 +103809,11 @@ document.body.appendChild(text);
<dt>Any other start tag</dt>
<dd>

<p>If the <span>current node</span> is an element in the <span>MathML namespace</span>,
<p>If the <span>adjusted current node</span> is an element in the <span>MathML namespace</span>,
<span>adjust MathML attributes</span> for the token. (This fixes the case of MathML attributes
that are not all lowercase.)</p>

<p>If the <span>current node</span> is an element in the <span>SVG namespace</span>, and the
<p>If the <span>adjusted current node</span> is an element in the <span>SVG namespace</span>, and the
token's tag name is one of the ones in the first column of the following table, change the tag
name to the name given in the corresponding cell in the second column. (This fixes the case of
SVG elements that are not all lowercase.)</p>
Expand Down Expand Up @@ -103861,15 +103861,15 @@ document.body.appendChild(text);
<tr> <td> <code title="">textpath</code> <td> <code title="">textPath</code>
</table>

<p>If the <span>current node</span> is an element in the <span>SVG namespace</span>,
<p>If the <span>adjusted current node</span> is an element in the <span>SVG namespace</span>,
<span>adjust SVG attributes</span> for the token. (This fixes the case of SVG attributes that
are not all lowercase.)</p>

<p><span>Adjust foreign attributes</span> for the token. (This fixes the use of namespaced
attributes, in particular XLink in SVG.)</p>

<p><span>Insert a foreign element</span> for the token, in the same namespace as the
<span>current node</span>.</p>
<span>adjusted current node</span>.</p>

<p>If the token has its <i>self-closing flag</i> set, then run the appropriate steps from the
following list:</p>
Expand Down

0 comments on commit a7e9b3d

Please sign in to comment.