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

Unified Diff: Source/core/css/CSSParserValues.h

Issue 13871007: Add CSS parser recovery from errors while parsing @-webkit-keyframes key values. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Introduced + made use of the CSSParserValue::Invalid enum value to avoid overloading isInt Created 7 years, 8 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 | « Source/core/css/CSSParser.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSParserValues.h
diff --git a/Source/core/css/CSSParserValues.h b/Source/core/css/CSSParserValues.h
index 2be7f558671461253e4f96710b586bee80a44742..1b0abbf17b086aae0dd8ae22c5353342abdd82cc 100644
--- a/Source/core/css/CSSParserValues.h
+++ b/Source/core/css/CSSParserValues.h
@@ -116,9 +116,10 @@ struct CSSParserValue {
CSSParserFunction* function;
};
enum {
- Operator = 0x100000,
- Function = 0x100001,
- Q_EMS = 0x100002
+ Invalid = 0x100000,
hayato 2013/04/17 08:22:56 I am wondering why we need to set an explicit valu
+ Operator = 0x100001,
+ Function = 0x100002,
+ Q_EMS = 0x100003
};
int unit;
« no previous file with comments | « Source/core/css/CSSParser.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698