[html5] r1905 - [e] (0) Clarify the bogus comment state. (Bug 5863) (credit: as)
whatwg at whatwg.org
whatwg at whatwg.org
Tue Jul 22 17:56:53 PDT 2008
Author: ianh
Date: 2008-07-22 17:56:52 -0700 (Tue, 22 Jul 2008)
New Revision: 1905
Modified:
index
source
Log:
[e] (0) Clarify the bogus comment state. (Bug 5863) (credit: as)
Modified: index
===================================================================
--- index 2008-07-23 00:51:32 UTC (rev 1904)
+++ index 2008-07-23 00:56:52 UTC (rev 1905)
@@ -46085,14 +46085,15 @@
<p><em>(This can only happen if the <a href="#content3">content model
flag</a> is set to the PCDATA state.)</em></p>
- <p>Consume every character up to 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 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 last consumed character before the U+003E character, if
- any, or up to the end of the file otherwise. (If the comment was started
- by the end of the file (EOF), the token is empty.)</p>
+ <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
+ 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
+ EOF character). (If the comment was started by the end of the file
+ (EOF), the token is empty.)</p>
<p>Switch to the <a href="#data-state">data state</a>.</p>
Modified: source
===================================================================
--- source 2008-07-23 00:51:32 UTC (rev 1904)
+++ source 2008-07-23 00:56:52 UTC (rev 1905)
@@ -43649,15 +43649,15 @@
<p><em>(This can only happen if the <span>content model
flag</span> is set to the PCDATA state.)</em></p>
- <p>Consume every character up to 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 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 last consumed character before the
- U+003E character, if any, or up to the end of the file
- otherwise. (If the comment was started by the end of the file
- (EOF), the token is empty.)</p>
+ <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
+ 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 EOF character). (If the comment was started
+ by the end of the file (EOF), the token is empty.)</p>
<p>Switch to the <span>data state</span>.</p>
More information about the Commit-Watchers
mailing list