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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h

Issue 1412803007: Parse text-decoration shorthand in CSSPropertyParser with CSSParserTokens (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Alternative fix Created 5 years, 1 month 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
Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h
index bffd19cb3739757faada6b2283a4eb33c66c1967..384d1e7753c324c1c74ce942be69b857f3635734 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h
@@ -114,6 +114,7 @@ private:
bool parseShorthand(CSSPropertyID, const StylePropertyShorthand&, bool important);
bool parseShorthand(CSSPropertyID, bool important);
+ bool consumeShorthand(CSSPropertyID, const StylePropertyShorthand&, bool important);
bool parse4Values(CSSPropertyID, const CSSPropertyID* properties, bool important);
PassRefPtrWillBeRawPtr<CSSValueList> parseContent();
@@ -241,8 +242,6 @@ private:
PassRefPtrWillBeRawPtr<CSSValue> parseTextEmphasisStyle();
- PassRefPtrWillBeRawPtr<CSSValue> parseTextDecoration();
-
bool parseCalculation(CSSParserValue*, ValueRange);
bool parseGeneratedImage(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&);

Powered by Google App Engine
This is Rietveld 408576698