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

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

Issue 2616643003: Implements CSSPropertyAPI for the webkit-box-flex-group property. (Closed)
Patch Set: rebase Created 3 years, 11 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 3289 matching lines...) Expand 10 before | Expand all | Expand 10 after
3300 case CSSPropertyPerspective: 3300 case CSSPropertyPerspective:
3301 return consumePerspective(m_range, m_context, unresolvedProperty); 3301 return consumePerspective(m_range, m_context, unresolvedProperty);
3302 case CSSPropertyScrollSnapPointsX: 3302 case CSSPropertyScrollSnapPointsX:
3303 case CSSPropertyScrollSnapPointsY: 3303 case CSSPropertyScrollSnapPointsY:
3304 return consumeScrollSnapPoints(m_range, m_context->mode()); 3304 return consumeScrollSnapPoints(m_range, m_context->mode());
3305 case CSSPropertyBorderTopRightRadius: 3305 case CSSPropertyBorderTopRightRadius:
3306 case CSSPropertyBorderTopLeftRadius: 3306 case CSSPropertyBorderTopLeftRadius:
3307 case CSSPropertyBorderBottomLeftRadius: 3307 case CSSPropertyBorderBottomLeftRadius:
3308 case CSSPropertyBorderBottomRightRadius: 3308 case CSSPropertyBorderBottomRightRadius:
3309 return consumeBorderRadiusCorner(m_range, m_context->mode()); 3309 return consumeBorderRadiusCorner(m_range, m_context->mode());
3310 case CSSPropertyWebkitBoxFlexGroup:
3311 return consumeInteger(m_range, 0);
3312 case CSSPropertyOrder: 3310 case CSSPropertyOrder:
3313 return consumeInteger(m_range); 3311 return consumeInteger(m_range);
3314 case CSSPropertyVerticalAlign: 3312 case CSSPropertyVerticalAlign:
3315 return consumeVerticalAlign(m_range, m_context->mode()); 3313 return consumeVerticalAlign(m_range, m_context->mode());
3316 case CSSPropertyShapeOutside: 3314 case CSSPropertyShapeOutside:
3317 return consumeShapeOutside(m_range, m_context); 3315 return consumeShapeOutside(m_range, m_context);
3318 case CSSPropertyClipPath: 3316 case CSSPropertyClipPath:
3319 return consumeClipPath(m_range, m_context); 3317 return consumeClipPath(m_range, m_context);
3320 case CSSPropertyJustifyContent: 3318 case CSSPropertyJustifyContent:
3321 case CSSPropertyAlignContent: 3319 case CSSPropertyAlignContent:
(...skipping 1552 matching lines...) Expand 10 before | Expand all | Expand 10 after
4874 case CSSPropertyGridTemplate: 4872 case CSSPropertyGridTemplate:
4875 return consumeGridTemplateShorthand(CSSPropertyGridTemplate, important); 4873 return consumeGridTemplateShorthand(CSSPropertyGridTemplate, important);
4876 case CSSPropertyGrid: 4874 case CSSPropertyGrid:
4877 return consumeGridShorthand(important); 4875 return consumeGridShorthand(important);
4878 default: 4876 default:
4879 return false; 4877 return false;
4880 } 4878 }
4881 } 4879 }
4882 4880
4883 } // namespace blink 4881 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698