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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp

Issue 2577363002: Implement CSS Logical Properties: inline/block size (Closed)
Patch Set: Refactor test case, add {inline-,block-}size overrides width height Created 4 years 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/CSSParserFastPaths.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
index b6055081c78276e0c4f9a86d6dbfaf386fe38ca8..a2b4e5e40c014792558612ec9cfc109827e25d44 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
@@ -23,6 +23,10 @@ namespace blink {
static inline bool isSimpleLengthPropertyID(CSSPropertyID propertyId,
bool& acceptsNegativeNumbers) {
switch (propertyId) {
+ case CSSPropertyBlockSize:
+ case CSSPropertyInlineSize:
+ case CSSPropertyMinBlockSize:
cbiesinger 2016/12/21 23:15:00 This is not actually sorted?
rune 2016/12/22 11:29:34 If you put these into order, it would make sense t
+ case CSSPropertyMinInlineSize:
case CSSPropertyFontSize:
case CSSPropertyGridColumnGap:
case CSSPropertyGridRowGap:

Powered by Google App Engine
This is Rietveld 408576698