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 <memory> | 7 #include <memory> |
8 #include "core/StylePropertyShorthand.h" | 8 #include "core/StylePropertyShorthand.h" |
9 #include "core/css/CSSBasicShapeValues.h" | 9 #include "core/css/CSSBasicShapeValues.h" |
10 #include "core/css/CSSBorderImage.h" | 10 #include "core/css/CSSBorderImage.h" |
(...skipping 1949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1960 case CSSPropertyTransitionProperty: | 1960 case CSSPropertyTransitionProperty: |
1961 case CSSPropertyAnimationTimingFunction: | 1961 case CSSPropertyAnimationTimingFunction: |
1962 case CSSPropertyTransitionTimingFunction: | 1962 case CSSPropertyTransitionTimingFunction: |
1963 return consumeAnimationPropertyList( | 1963 return consumeAnimationPropertyList( |
1964 property, m_range, m_context, | 1964 property, m_range, m_context, |
1965 unresolvedProperty == CSSPropertyAliasWebkitAnimationName); | 1965 unresolvedProperty == CSSPropertyAliasWebkitAnimationName); |
1966 case CSSPropertyGridColumnGap: | 1966 case CSSPropertyGridColumnGap: |
1967 case CSSPropertyGridRowGap: | 1967 case CSSPropertyGridRowGap: |
1968 return consumeLengthOrPercent(m_range, m_context->mode(), | 1968 return consumeLengthOrPercent(m_range, m_context->mode(), |
1969 ValueRangeNonNegative); | 1969 ValueRangeNonNegative); |
1970 case CSSPropertyWebkitBoxOrdinalGroup: | |
1971 case CSSPropertyOrphans: | |
1972 case CSSPropertyWidows: | |
1973 return consumePositiveInteger(m_range); | |
1974 case CSSPropertyColor: | 1970 case CSSPropertyColor: |
1975 case CSSPropertyBackgroundColor: | 1971 case CSSPropertyBackgroundColor: |
1976 return consumeColor(m_range, m_context->mode(), inQuirksMode()); | 1972 return consumeColor(m_range, m_context->mode(), inQuirksMode()); |
1977 case CSSPropertyWebkitBorderStartWidth: | 1973 case CSSPropertyWebkitBorderStartWidth: |
1978 case CSSPropertyWebkitBorderEndWidth: | 1974 case CSSPropertyWebkitBorderEndWidth: |
1979 case CSSPropertyWebkitBorderBeforeWidth: | 1975 case CSSPropertyWebkitBorderBeforeWidth: |
1980 case CSSPropertyWebkitBorderAfterWidth: | 1976 case CSSPropertyWebkitBorderAfterWidth: |
1981 return consumeBorderWidth(m_range, m_context->mode(), | 1977 return consumeBorderWidth(m_range, m_context->mode(), |
1982 UnitlessQuirk::Forbid); | 1978 UnitlessQuirk::Forbid); |
1983 case CSSPropertyBorderBottomColor: | 1979 case CSSPropertyBorderBottomColor: |
(...skipping 1682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3666 case CSSPropertyGrid: | 3662 case CSSPropertyGrid: |
3667 return consumeGridShorthand(important); | 3663 return consumeGridShorthand(important); |
3668 case CSSPropertyPlaceContent: | 3664 case CSSPropertyPlaceContent: |
3669 return consumePlaceContentShorthand(important); | 3665 return consumePlaceContentShorthand(important); |
3670 default: | 3666 default: |
3671 return false; | 3667 return false; |
3672 } | 3668 } |
3673 } | 3669 } |
3674 | 3670 |
3675 } // namespace blink | 3671 } // namespace blink |
OLD | NEW |