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 3253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3264 case CSSPropertyGridRowGap: | 3264 case CSSPropertyGridRowGap: |
3265 return consumeLengthOrPercent(m_range, m_context->mode(), | 3265 return consumeLengthOrPercent(m_range, m_context->mode(), |
3266 ValueRangeNonNegative); | 3266 ValueRangeNonNegative); |
3267 case CSSPropertyShapeMargin: | 3267 case CSSPropertyShapeMargin: |
3268 return consumeLengthOrPercent(m_range, m_context->mode(), | 3268 return consumeLengthOrPercent(m_range, m_context->mode(), |
3269 ValueRangeNonNegative); | 3269 ValueRangeNonNegative); |
3270 case CSSPropertyShapeImageThreshold: | 3270 case CSSPropertyShapeImageThreshold: |
3271 return consumeNumber(m_range, ValueRangeAll); | 3271 return consumeNumber(m_range, ValueRangeAll); |
3272 case CSSPropertyWebkitBoxOrdinalGroup: | 3272 case CSSPropertyWebkitBoxOrdinalGroup: |
3273 case CSSPropertyOrphans: | 3273 case CSSPropertyOrphans: |
3274 case CSSPropertyWidows: | |
nainar
2017/01/18 23:56:30
As per IRL conversation grouping together properti
| |
3275 return consumePositiveInteger(m_range); | 3274 return consumePositiveInteger(m_range); |
3276 case CSSPropertyWebkitTextStrokeWidth: | 3275 case CSSPropertyWebkitTextStrokeWidth: |
3277 return consumeTextStrokeWidth(m_range, m_context->mode()); | 3276 return consumeTextStrokeWidth(m_range, m_context->mode()); |
3278 case CSSPropertyWebkitTextFillColor: | 3277 case CSSPropertyWebkitTextFillColor: |
3279 case CSSPropertyWebkitTapHighlightColor: | 3278 case CSSPropertyWebkitTapHighlightColor: |
3280 case CSSPropertyWebkitTextEmphasisColor: | 3279 case CSSPropertyWebkitTextEmphasisColor: |
3281 case CSSPropertyWebkitBorderStartColor: | 3280 case CSSPropertyWebkitBorderStartColor: |
3282 case CSSPropertyWebkitBorderEndColor: | 3281 case CSSPropertyWebkitBorderEndColor: |
3283 case CSSPropertyWebkitBorderBeforeColor: | 3282 case CSSPropertyWebkitBorderBeforeColor: |
3284 case CSSPropertyWebkitBorderAfterColor: | 3283 case CSSPropertyWebkitBorderAfterColor: |
(...skipping 1701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4986 case CSSPropertyGridTemplate: | 4985 case CSSPropertyGridTemplate: |
4987 return consumeGridTemplateShorthand(CSSPropertyGridTemplate, important); | 4986 return consumeGridTemplateShorthand(CSSPropertyGridTemplate, important); |
4988 case CSSPropertyGrid: | 4987 case CSSPropertyGrid: |
4989 return consumeGridShorthand(important); | 4988 return consumeGridShorthand(important); |
4990 default: | 4989 default: |
4991 return false; | 4990 return false; |
4992 } | 4991 } |
4993 } | 4992 } |
4994 | 4993 |
4995 } // namespace blink | 4994 } // namespace blink |
OLD | NEW |