| OLD | NEW |
| 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 3409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3420 case CSSPropertyOrder: | 3420 case CSSPropertyOrder: |
| 3421 return consumeInteger(m_range); | 3421 return consumeInteger(m_range); |
| 3422 case CSSPropertyTextUnderlinePosition: | 3422 case CSSPropertyTextUnderlinePosition: |
| 3423 // auto | [ under || [ left | right ] ], but we only support auto | unde
r for now | 3423 // auto | [ under || [ left | right ] ], but we only support auto | unde
r for now |
| 3424 ASSERT(RuntimeEnabledFeatures::css3TextDecorationsEnabled()); | 3424 ASSERT(RuntimeEnabledFeatures::css3TextDecorationsEnabled()); |
| 3425 return consumeIdent<CSSValueAuto, CSSValueUnder>(m_range); | 3425 return consumeIdent<CSSValueAuto, CSSValueUnder>(m_range); |
| 3426 case CSSPropertyVerticalAlign: | 3426 case CSSPropertyVerticalAlign: |
| 3427 return consumeVerticalAlign(m_range, m_context.mode()); | 3427 return consumeVerticalAlign(m_range, m_context.mode()); |
| 3428 case CSSPropertyShapeOutside: | 3428 case CSSPropertyShapeOutside: |
| 3429 return consumeShapeOutside(m_range, m_context); | 3429 return consumeShapeOutside(m_range, m_context); |
| 3430 case CSSPropertyWebkitClipPath: | |
| 3431 case CSSPropertyClipPath: | 3430 case CSSPropertyClipPath: |
| 3432 return consumeClipPath(m_range, m_context); | 3431 return consumeClipPath(m_range, m_context); |
| 3433 case CSSPropertyJustifyContent: | 3432 case CSSPropertyJustifyContent: |
| 3434 case CSSPropertyAlignContent: | 3433 case CSSPropertyAlignContent: |
| 3435 ASSERT(RuntimeEnabledFeatures::cssGridLayoutEnabled()); | 3434 ASSERT(RuntimeEnabledFeatures::cssGridLayoutEnabled()); |
| 3436 return consumeContentDistributionOverflowPosition(m_range); | 3435 return consumeContentDistributionOverflowPosition(m_range); |
| 3437 case CSSPropertyBorderImageRepeat: | 3436 case CSSPropertyBorderImageRepeat: |
| 3438 case CSSPropertyWebkitMaskBoxImageRepeat: | 3437 case CSSPropertyWebkitMaskBoxImageRepeat: |
| 3439 return consumeBorderImageRepeat(m_range); | 3438 return consumeBorderImageRepeat(m_range); |
| 3440 case CSSPropertyBorderImageSlice: | 3439 case CSSPropertyBorderImageSlice: |
| (...skipping 1275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4716 case CSSPropertyGridTemplate: | 4715 case CSSPropertyGridTemplate: |
| 4717 return consumeGridTemplateShorthand(CSSPropertyGridTemplate, important); | 4716 return consumeGridTemplateShorthand(CSSPropertyGridTemplate, important); |
| 4718 case CSSPropertyGrid: | 4717 case CSSPropertyGrid: |
| 4719 return consumeGridShorthand(important); | 4718 return consumeGridShorthand(important); |
| 4720 default: | 4719 default: |
| 4721 return false; | 4720 return false; |
| 4722 } | 4721 } |
| 4723 } | 4722 } |
| 4724 | 4723 |
| 4725 } // namespace blink | 4724 } // namespace blink |
| OLD | NEW |