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

Side by Side Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp

Issue 2635983007: Implements CSSPropertyAPI for the column-count property. (Closed)
Patch Set: rebase Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/css/parser/CSSPropertyParser.h" 5 #include "core/css/parser/CSSPropertyParser.h"
6 6
7 #include "core/StylePropertyShorthand.h" 7 #include "core/StylePropertyShorthand.h"
8 #include "core/css/CSSBasicShapeValues.h" 8 #include "core/css/CSSBasicShapeValues.h"
9 #include "core/css/CSSBorderImage.h" 9 #include "core/css/CSSBorderImage.h"
10 #include "core/css/CSSContentDistributionValue.h" 10 #include "core/css/CSSContentDistributionValue.h"
(...skipping 2076 matching lines...) Expand 10 before | Expand all | Expand 10 after
2087 return CSSPropertyLengthUtils::consumeWidthOrHeight(m_range, m_context); 2087 return CSSPropertyLengthUtils::consumeWidthOrHeight(m_range, m_context);
2088 case CSSPropertyScrollSnapDestination: 2088 case CSSPropertyScrollSnapDestination:
2089 case CSSPropertyObjectPosition: 2089 case CSSPropertyObjectPosition:
2090 case CSSPropertyPerspectiveOrigin: 2090 case CSSPropertyPerspectiveOrigin:
2091 return consumePosition(m_range, m_context->mode(), UnitlessQuirk::Forbid); 2091 return consumePosition(m_range, m_context->mode(), UnitlessQuirk::Forbid);
2092 case CSSPropertyWebkitHyphenateCharacter: 2092 case CSSPropertyWebkitHyphenateCharacter:
2093 case CSSPropertyWebkitLocale: 2093 case CSSPropertyWebkitLocale:
2094 return consumeLocale(m_range); 2094 return consumeLocale(m_range);
2095 case CSSPropertyColumnWidth: 2095 case CSSPropertyColumnWidth:
2096 return CSSPropertyColumnUtils::consumeColumnWidth(m_range); 2096 return CSSPropertyColumnUtils::consumeColumnWidth(m_range);
2097 case CSSPropertyColumnCount:
2098 return CSSPropertyColumnUtils::consumeColumnCount(m_range);
2099 case CSSPropertyAnimationDelay: 2097 case CSSPropertyAnimationDelay:
2100 case CSSPropertyTransitionDelay: 2098 case CSSPropertyTransitionDelay:
2101 case CSSPropertyAnimationDirection: 2099 case CSSPropertyAnimationDirection:
2102 case CSSPropertyAnimationDuration: 2100 case CSSPropertyAnimationDuration:
2103 case CSSPropertyTransitionDuration: 2101 case CSSPropertyTransitionDuration:
2104 case CSSPropertyAnimationFillMode: 2102 case CSSPropertyAnimationFillMode:
2105 case CSSPropertyAnimationIterationCount: 2103 case CSSPropertyAnimationIterationCount:
2106 case CSSPropertyAnimationName: 2104 case CSSPropertyAnimationName:
2107 case CSSPropertyAnimationPlayState: 2105 case CSSPropertyAnimationPlayState:
2108 case CSSPropertyTransitionProperty: 2106 case CSSPropertyTransitionProperty:
(...skipping 1630 matching lines...) Expand 10 before | Expand all | Expand 10 after
3739 case CSSPropertyGridTemplate: 3737 case CSSPropertyGridTemplate:
3740 return consumeGridTemplateShorthand(CSSPropertyGridTemplate, important); 3738 return consumeGridTemplateShorthand(CSSPropertyGridTemplate, important);
3741 case CSSPropertyGrid: 3739 case CSSPropertyGrid:
3742 return consumeGridShorthand(important); 3740 return consumeGridShorthand(important);
3743 default: 3741 default:
3744 return false; 3742 return false;
3745 } 3743 }
3746 } 3744 }
3747 3745
3748 } // namespace blink 3746 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698