- From: poot <cvsmail@w3.org>
- Date: Wed, 23 Jul 2008 10:01:58 +0900 (JST)
- To: public-html-diffs@w3.org
Clarify the bogus comment state. (Bug 5863) (credit: as) (whatwg r1905) (changed by: Ian Hickson) Diffs for this change per section: Bogus comment state http://people.w3.org/mike/diffs/html5/spec/Overview.1.1094.html#bogus Current content per affected section: http://dev.w3.org/html5/spec/Overview.html#bogus Previously published WD content per affected section: http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#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 01:02:35 UTC