Skip to content

Commit

Permalink
[e] (0) Make the ABNF more valid.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8087

git-svn-id: http://svn.whatwg.org/webapps@4368 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 27, 2009
1 parent 3c534ff commit e93c25a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
10 changes: 6 additions & 4 deletions complete.html
Expand Up @@ -12058,9 +12058,11 @@ <h4 id=the-style-element><span class=secno>4.2.6 </span>The <dfn><code>style</co
match the <code title="">style</code> production in the following
ABNF, the character set for which is Unicode. <a href=#refsABNF>[ABNF]</a></p>

<pre>style = no-c-start *( "&lt;!--" no-c-end "--&gt;" no-c-start )
no-c-start = &lt;any string that doesn't contain the substring "&lt;!--" &gt;
no-c-end = &lt;any string that doesn't contain the substring "--&gt;" &gt;</pre>
<pre>style = no-c-start *( c-start no-c-end c-end no-c-start )
no-c-start = &lt;any string that doesn't contain a substring that matches c-start &gt;
c-start = "<!--"
no-c-end = &lt;any string that doesn't contain a substring that matches c-end ></pre>
c-end = "-->"

<!-- Unmatched comment-like syntax is invalid on a temporary basis,
waiting for IE, WebKit, and Opera to fix their parsing bug
Expand Down Expand Up @@ -12315,7 +12317,7 @@ <h3 id=scripting-1><span class=secno>4.3 </span>Scripting</h3>

<h4 id=script><span class=secno>4.3.1 </span>The <dfn><code>script</code></dfn> element</h4>

<dl class=element><dt>Categories</dt>
</pre><dl class=element><dt>Categories</dt>
<dd><a href=#metadata-content>Metadata content</a>.</dd>
<dd><a href=#flow-content>Flow content</a>.</dd>
<dd><a href=#phrasing-content>Phrasing content</a>.</dd>
Expand Down
10 changes: 6 additions & 4 deletions index
Expand Up @@ -11876,9 +11876,11 @@ people expect to have work and what is necessary.
match the <code title="">style</code> production in the following
ABNF, the character set for which is Unicode. <a href=#refsABNF>[ABNF]</a></p>

<pre>style = no-c-start *( "&lt;!--" no-c-end "--&gt;" no-c-start )
no-c-start = &lt;any string that doesn't contain the substring "&lt;!--" &gt;
no-c-end = &lt;any string that doesn't contain the substring "--&gt;" &gt;</pre>
<pre>style = no-c-start *( c-start no-c-end c-end no-c-start )
no-c-start = &lt;any string that doesn't contain a substring that matches c-start &gt;
c-start = "<!--"
no-c-end = &lt;any string that doesn't contain a substring that matches c-end ></pre>
c-end = "-->"

<!-- Unmatched comment-like syntax is invalid on a temporary basis,
waiting for IE, WebKit, and Opera to fix their parsing bug
Expand Down Expand Up @@ -12133,7 +12135,7 @@ no-c-end = &lt;any string that doesn't contain the substring "--&gt;" &gt;<

<h4 id=script><span class=secno>4.3.1 </span>The <dfn><code>script</code></dfn> element</h4>

<dl class=element><dt>Categories</dt>
</pre><dl class=element><dt>Categories</dt>
<dd><a href=#metadata-content>Metadata content</a>.</dd>
<dd><a href=#flow-content>Flow content</a>.</dd>
<dd><a href=#phrasing-content>Phrasing content</a>.</dd>
Expand Down
8 changes: 5 additions & 3 deletions source
Expand Up @@ -12558,9 +12558,11 @@ people expect to have work and what is necessary.
ABNF, the character set for which is Unicode. <a
href="#refsABNF">[ABNF]</a></p>

<pre>style = no-c-start *( "&lt;!--" no-c-end "-->" no-c-start )
no-c-start = &lt;any string that doesn't contain the substring "&lt;!--" >
no-c-end = &lt;any string that doesn't contain the substring "-->" ></pre>
<pre>style = no-c-start *( c-start no-c-end c-end no-c-start )
no-c-start = &lt;any string that doesn't contain a substring that matches c-start >
c-start = "<!--"
no-c-end = &lt;any string that doesn't contain a substring that matches c-end ></pre>
c-end = "-->"

<!-- Unmatched comment-like syntax is invalid on a temporary basis,
waiting for IE, WebKit, and Opera to fix their parsing bug
Expand Down

0 comments on commit e93c25a

Please sign in to comment.