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 3071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3082 case CSSPropertyTransitionTimingFunction: | 3082 case CSSPropertyTransitionTimingFunction: |
3083 return consumeAnimationPropertyList( | 3083 return consumeAnimationPropertyList( |
3084 property, m_range, m_context, | 3084 property, m_range, m_context, |
3085 unresolvedProperty == CSSPropertyAliasWebkitAnimationName); | 3085 unresolvedProperty == CSSPropertyAliasWebkitAnimationName); |
3086 case CSSPropertyGridColumnGap: | 3086 case CSSPropertyGridColumnGap: |
3087 case CSSPropertyGridRowGap: | 3087 case CSSPropertyGridRowGap: |
3088 return consumeLengthOrPercent(m_range, m_context->mode(), | 3088 return consumeLengthOrPercent(m_range, m_context->mode(), |
3089 ValueRangeNonNegative); | 3089 ValueRangeNonNegative); |
3090 case CSSPropertyShapeImageThreshold: | 3090 case CSSPropertyShapeImageThreshold: |
3091 return consumeNumber(m_range, ValueRangeAll); | 3091 return consumeNumber(m_range, ValueRangeAll); |
3092 case CSSPropertyWebkitBoxOrdinalGroup: | |
3093 case CSSPropertyOrphans: | |
3094 case CSSPropertyWidows: | |
3095 return consumePositiveInteger(m_range); | |
3096 case CSSPropertyWebkitTextStrokeWidth: | 3092 case CSSPropertyWebkitTextStrokeWidth: |
3097 return consumeTextStrokeWidth(m_range, m_context->mode()); | 3093 return consumeTextStrokeWidth(m_range, m_context->mode()); |
3098 case CSSPropertyWebkitTextFillColor: | 3094 case CSSPropertyWebkitTextFillColor: |
3099 case CSSPropertyWebkitTapHighlightColor: | 3095 case CSSPropertyWebkitTapHighlightColor: |
3100 case CSSPropertyWebkitTextEmphasisColor: | 3096 case CSSPropertyWebkitTextEmphasisColor: |
3101 case CSSPropertyWebkitBorderStartColor: | 3097 case CSSPropertyWebkitBorderStartColor: |
3102 case CSSPropertyWebkitBorderEndColor: | 3098 case CSSPropertyWebkitBorderEndColor: |
3103 case CSSPropertyWebkitBorderBeforeColor: | 3099 case CSSPropertyWebkitBorderBeforeColor: |
3104 case CSSPropertyWebkitBorderAfterColor: | 3100 case CSSPropertyWebkitBorderAfterColor: |
3105 case CSSPropertyWebkitTextStrokeColor: | 3101 case CSSPropertyWebkitTextStrokeColor: |
(...skipping 1689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4795 case CSSPropertyGridTemplate: | 4791 case CSSPropertyGridTemplate: |
4796 return consumeGridTemplateShorthand(CSSPropertyGridTemplate, important); | 4792 return consumeGridTemplateShorthand(CSSPropertyGridTemplate, important); |
4797 case CSSPropertyGrid: | 4793 case CSSPropertyGrid: |
4798 return consumeGridShorthand(important); | 4794 return consumeGridShorthand(important); |
4799 default: | 4795 default: |
4800 return false; | 4796 return false; |
4801 } | 4797 } |
4802 } | 4798 } |
4803 | 4799 |
4804 } // namespace blink | 4800 } // namespace blink |
OLD | NEW |