Skip to content

Commit

Permalink
[e] (2) Move the 'permitted slash' definition up.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@947 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 22, 2007
1 parent 5cef9e0 commit 94748ad
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 24 deletions.
28 changes: 14 additions & 14 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -33457,6 +33457,20 @@ function receiver(e) {
<p>When an end tag token is emitted with attributes, that is a <a
href="#parse">parse error</a>.

<p>A <dfn id=permitted>permitted slash</dfn> is a U+002F SOLIDUS character
that is immediately followed by a U+003E GREATER-THAN SIGN, if, and only
if, the current token being processed is a start tag token whose tag name
is one of the following: <code><a href="#base">base</a></code>, <code><a
href="#link">link</a></code>, <code><a href="#meta0">meta</a></code>,
<code><a href="#hr">hr</a></code>, <code><a href="#br">br</a></code>,
<code><a href="#img">img</a></code>, <code><a
href="#embed">embed</a></code>, <code><a href="#param">param</a></code>,
<code><a href="#area">area</a></code>, <code><a
href="#col">col</a></code>, <code>input</code><!-- XXX add:
, <code>command</code>, <code>event-source</code> --></p>
<!-- XXX
keep this synchronised with the list of "void elements" -->

<p>Before each step of the tokeniser, the user agent may check to see if
either one of the scripts in the <a href="#list-of1">list of scripts that
will execute as soon as possible</a> or the first script in the <a
Expand Down Expand Up @@ -34702,20 +34716,6 @@ function receiver(e) {
</dl>
</dl>

<p>A <dfn id=permitted>permitted slash</dfn> is a U+002F SOLIDUS character
that is immediately followed by a U+003E GREATER-THAN SIGN, if, and only
if, the current token being processed is a start tag token whose tag name
is one of the following: <code><a href="#base">base</a></code>, <code><a
href="#link">link</a></code>, <code><a href="#meta0">meta</a></code>,
<code><a href="#hr">hr</a></code>, <code><a href="#br">br</a></code>,
<code><a href="#img">img</a></code>, <code><a
href="#embed">embed</a></code>, <code><a href="#param">param</a></code>,
<code><a href="#area">area</a></code>, <code><a
href="#col">col</a></code>, <code>input</code><!-- XXX add:
, <code>command</code>, <code>event-source</code> --></p>
<!-- XXX
keep this synchronised with the list of "void elements" -->

<h5 id=tokenising><span class=secno>8.2.3.1. </span>Tokenising entities</h5>

<p>This section defines how to <dfn id=consume>consume an entity</dfn>.
Expand Down
21 changes: 11 additions & 10 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -31002,6 +31002,16 @@ function receiver(e) {
<p>When an end tag token is emitted with attributes, that is a
<span>parse error</span>.</p>

<p>A <dfn>permitted slash</dfn> is a U+002F SOLIDUS character that
is immediately followed by a U+003E GREATER-THAN SIGN, if, and only
if, the current token being processed is a start tag token whose tag
name is one of the following: <code>base</code>, <code>link</code>,
<code>meta</code>, <code>hr</code>, <code>br</code>,
<code>img</code>, <code>embed</code>, <code>param</code>,
<code>area</code>, <code>col</code>, <code>input</code><!-- XXX add:
, <code>command</code>, <code>event-source</code> --></p> <!-- XXX
keep this synchronised with the list of "void elements" -->

<p>Before each step of the tokeniser, the user agent may check to
see if either one of the scripts in the <span>list of scripts that
will execute as soon as possible</span> or the first script in the
Expand Down Expand Up @@ -32208,16 +32218,6 @@ function receiver(e) {

</dl>

<p>A <dfn>permitted slash</dfn> is a U+002F SOLIDUS character that
is immediately followed by a U+003E GREATER-THAN SIGN, if, and only
if, the current token being processed is a start tag token whose tag
name is one of the following: <code>base</code>, <code>link</code>,
<code>meta</code>, <code>hr</code>, <code>br</code>,
<code>img</code>, <code>embed</code>, <code>param</code>,
<code>area</code>, <code>col</code>, <code>input</code><!-- XXX add:
, <code>command</code>, <code>event-source</code> --></p> <!-- XXX
keep this synchronised with the list of "void elements" -->


<h5>Tokenising entities</h5>

Expand Down Expand Up @@ -33198,6 +33198,7 @@ simplified explanation instead:
-->



<h6>How to handle tokens in the main phase</h6>

<p>Tokens in the main phase must be handled as follows:</p>
Expand Down

0 comments on commit 94748ad

Please sign in to comment.