Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(851)

Unified Diff: sky/engine/core/html/parser/HTMLTokenizer.h

Issue 682893002: Parse comments according to parsing.md (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/html/parser/HTMLToken.h ('k') | sky/engine/core/html/parser/HTMLTokenizer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/parser/HTMLTokenizer.h
diff --git a/sky/engine/core/html/parser/HTMLTokenizer.h b/sky/engine/core/html/parser/HTMLTokenizer.h
index a22cf50df65ecf530b9d1f0b6ea2b889945ebcdc..bc8c48af0de10c2f6c4ed5ebc4ccd58298d04e5f 100644
--- a/sky/engine/core/html/parser/HTMLTokenizer.h
+++ b/sky/engine/core/html/parser/HTMLTokenizer.h
@@ -49,7 +49,7 @@ public:
CharacterReferenceInAttributeValueState,
RAWTEXTState,
TagOpenState,
- EndTagOpenState,
+ CloseTagState,
TagNameState,
RAWTEXTLessThanSignState,
RAWTEXTEndTagOpenState,
@@ -63,18 +63,11 @@ public:
AttributeValueUnquotedState,
AfterAttributeValueQuotedState,
SelfClosingStartTagState,
- BogusCommentState,
- // The ContinueBogusCommentState is not in the HTML5 spec, but we use
- // it internally to keep track of whether we've started the bogus
- // comment token yet.
- ContinueBogusCommentState,
- MarkupDeclarationOpenState,
- CommentStartState,
- CommentStartDashState,
+ CommentStart1State,
+ CommentStart2State,
CommentState,
- CommentEndDashState,
- CommentEndState,
- CommentEndBangState,
+ CommentEnd1State,
+ CommentEnd2State,
};
// This function returns true if it emits a token. Otherwise, callers
« no previous file with comments | « sky/engine/core/html/parser/HTMLToken.h ('k') | sky/engine/core/html/parser/HTMLTokenizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698