Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) Try to avoid negative-length strings and strings with EOF cha…
…racters in them...

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25871
Affected topics: HTML Syntax and Parsing

git-svn-id: http://svn.whatwg.org/webapps@8709 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 5, 2014
1 parent 8edfe6d commit 6dfcf11
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion complete.html
Expand Up @@ -72438,7 +72438,8 @@ <h5 id=self-closing-start-tag-state>12.2.4.43 <dfn>Self-closing start tag state<
<h5 id=bogus-comment-state>12.2.4.44 <dfn>Bogus comment state</dfn></h5>

<p>Consume every character up to and including the first U+003E GREATER-THAN SIGN character (>)
or the end of the file (EOF), whichever comes first. Emit a comment token whose data is the
or the end of the file (EOF), whichever comes first.
If more than one character was consumed, then emit a comment token whose data is the
concatenation of all the characters starting from and including the character that caused the
state machine to switch into the bogus comment state, up to and including the character
immediately before the last consumed character (i.e. up to the character just before the U+003E or
Expand Down
3 changes: 2 additions & 1 deletion index
Expand Up @@ -72438,7 +72438,8 @@ dictionary <dfn id=storageeventinit>StorageEventInit</dfn> : <a href=#eventinit
<h5 id=bogus-comment-state>12.2.4.44 <dfn>Bogus comment state</dfn></h5>

<p>Consume every character up to and including the first U+003E GREATER-THAN SIGN character (>)
or the end of the file (EOF), whichever comes first. Emit a comment token whose data is the
or the end of the file (EOF), whichever comes first.
If more than one character was consumed, then emit a comment token whose data is the
concatenation of all the characters starting from and including the character that caused the
state machine to switch into the bogus comment state, up to and including the character
immediately before the last consumed character (i.e. up to the character just before the U+003E or
Expand Down
3 changes: 2 additions & 1 deletion source
Expand Up @@ -98171,7 +98171,8 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
<h5><dfn>Bogus comment state</dfn></h5>

<p>Consume every character up to and including the first U+003E GREATER-THAN SIGN character (&gt;)
or the end of the file (EOF), whichever comes first. Emit a comment token whose data is the
or the end of the file (EOF), whichever comes first.
If more than one character was consumed, then emit a comment token whose data is the
concatenation of all the characters starting from and including the character that caused the
state machine to switch into the bogus comment state, up to and including the character
immediately before the last consumed character (i.e. up to the character just before the U+003E or
Expand Down

0 comments on commit 6dfcf11

Please sign in to comment.