- From: poot <cvsmail@w3.org>
- Date: Wed, 23 Jul 2008 21:14:01 +0900 (JST)
- To: public-html-diffs@w3.org
Clarify the bogus comment state. (Bug 5863) (credit: as) (whatwg r1905) (changed by: Ian Hickson) http://www.w3.org/Bugs/Public/show_bug.cgi?id=5863 Diffs for this change per section: Bogus comment state http://people.w3.org/mike/diffs/html5/spec/Overview.1.1094.html#bogus Cumulative diff: http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1093&r2=1.1094&f=h http://html5.org/tools/web-apps-tracker?from=1904&to=1905 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1093 retrieving revision 1.1094 diff -u -d -r1.1093 -r1.1094 --- Overview.html 23 Jul 2008 00:51:36 -0000 1.1093 +++ Overview.html 23 Jul 2008 00:58:26 -0000 1.1094 @@ -46156,14 +46156,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>
Received on Wednesday, 23 July 2008 12:14:39 UTC