Skip to content

Commit

Permalink
[e] (0) Cleanup in the parser.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3902 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 18, 2009
1 parent cd57f4b commit 1fc6632
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 36 deletions.
24 changes: 5 additions & 19 deletions index
Expand Up @@ -67383,10 +67383,9 @@ document.body.appendChild(text);

<p>If, after doing so, the <a href=#insertion-mode>insertion mode</a> is still
"<a href=#parsing-main-inforeign title="insertion mode: in foreign content">in foreign
content</a>", but there is no element in scope that has a
namespace other than the <a href=#html-namespace-0>HTML namespace</a><!-- XXX this
isn't well-defined; it means check to see if the bottom-most HTML
element on the stack is in scope -->, switch the <a href=#insertion-mode>insertion
content</a>", but there is no element <a href=#has-an-element-in-scope title="has an
element in scope">in scope</a> that has a namespace other than
the <a href=#html-namespace-0>HTML namespace</a>, switch the <a href=#insertion-mode>insertion
mode</a> to the <a href=#secondary-insertion-mode>secondary insertion mode</a>.</p>

</dd>
Expand Down Expand Up @@ -67700,13 +67699,7 @@ document.body.appendChild(text);
<p><a href=#parse-error>Parse error</a>. Ignore the token.</p>
</dd>

</dl><p class=XXX>This doesn't handle UAs that don't support
frames, or that do support frames but want to show the NOFRAMES
content. Supporting the former is easy; supporting the latter is
harder.</p>


<h5 id=the-after-after-body-insertion-mode><span class=secno>9.2.5.25 </span>The "<dfn title="insertion mode: after after body">after after body</dfn>" insertion mode</h5>
</dl><h5 id=the-after-after-body-insertion-mode><span class=secno>9.2.5.25 </span>The "<dfn title="insertion mode: after after body">after after body</dfn>" insertion mode</h5>

<p>When the <a href=#insertion-mode>insertion mode</a> is "<a href=#the-after-after-body-insertion-mode title="insertion
mode: after after body">after after body</a>", tokens must be handled as follows:</p>
Expand Down Expand Up @@ -67854,13 +67847,6 @@ document.body.appendChild(text);
</ol><p>The <a href=#task-source>task source</a> for these <span title=concept-tasks>tasks</span> is the <a href=#dom-manipulation-task-source>DOM manipulation
task source</a>.</p>

<!-- XXX make sure things "delay the load event", e.g. applet and
object element's frame contents -->

<p class=XXX>delaying the load event for things like image
loads allows for intranet port scans (even without
javascript!). Should we really encode that into the spec?</p>


<!--XXX need to handle
http://lxr.mozilla.org/mozilla/source/parser/htmlparser/src/CNavDTD.cpp#2354
Expand Down Expand Up @@ -73696,7 +73682,7 @@ time:empty { binding: <i title="">time</i>; }</pre>
represents nothing).</p>

<p>Otherwise, <span class=XXX>define how the element works,
if supported</span>.</p>
if supported</span>.</p> <!-- remember to delay the laod event -->

<p>The <code><a href=#the-applet-element>applet</a></code> element must implement the
<code><a href=#htmlappletelement>HTMLAppletElement</a></code> interface.</p>
Expand Down
21 changes: 4 additions & 17 deletions source
Expand Up @@ -82650,10 +82650,9 @@ document.body.appendChild(text);

<p>If, after doing so, the <span>insertion mode</span> is still
"<span title="insertion mode: in foreign content">in foreign
content</span>", but there is no element in scope that has a
namespace other than the <span>HTML namespace</span><!-- XXX this
isn't well-defined; it means check to see if the bottom-most HTML
element on the stack is in scope -->, switch the <span>insertion
content</span>", but there is no element <span title="has an
element in scope">in scope</span> that has a namespace other than
the <span>HTML namespace</span>, switch the <span>insertion
mode</span> to the <span>secondary insertion mode</span>.</p>

</dd>
Expand Down Expand Up @@ -82998,11 +82997,6 @@ document.body.appendChild(text);

</dl>

<p class="XXX">This doesn't handle UAs that don't support
frames, or that do support frames but want to show the NOFRAMES
content. Supporting the former is easy; supporting the latter is
harder.</p>


<h5>The "<dfn title="insertion mode: after after body">after after body</dfn>" insertion mode</h5>

Expand Down Expand Up @@ -83181,13 +83175,6 @@ document.body.appendChild(text);
title="concept-tasks">tasks</span> is the <span>DOM manipulation
task source</span>.</p>

<!-- XXX make sure things "delay the load event", e.g. applet and
object element's frame contents -->

<p class="XXX">delaying the load event for things like image
loads allows for intranet port scans (even without
javascript!). Should we really encode that into the spec?</p>


<!--XXX need to handle
http://lxr.mozilla.org/mozilla/source/parser/htmlparser/src/CNavDTD.cpp#2354
Expand Down Expand Up @@ -87403,7 +87390,7 @@ time:empty { binding: <i title="">time</i>; }</pre>
represents nothing).</p>

<p>Otherwise, <span class="XXX">define how the element works,
if supported</span>.</p>
if supported</span>.</p> <!-- remember to delay the laod event -->

<p>The <code>applet</code> element must implement the
<code>HTMLAppletElement</code> interface.</p>
Expand Down

0 comments on commit 1fc6632

Please sign in to comment.