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/CSSContentDistributionValue.h" | 10 #include "core/css/CSSContentDistributionValue.h" |
(...skipping 2432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2443 case CSSPropertyPlaceContent: | 2443 case CSSPropertyPlaceContent: |
2444 return ConsumePlaceContentShorthand(important); | 2444 return ConsumePlaceContentShorthand(important); |
2445 case CSSPropertyPlaceItems: | 2445 case CSSPropertyPlaceItems: |
2446 return ConsumePlaceItemsShorthand(important); | 2446 return ConsumePlaceItemsShorthand(important); |
2447 case CSSPropertyPlaceSelf: | 2447 case CSSPropertyPlaceSelf: |
2448 return ConsumePlaceSelfShorthand(important); | 2448 return ConsumePlaceSelfShorthand(important); |
2449 case CSSPropertyScrollPadding: | 2449 case CSSPropertyScrollPadding: |
2450 return Consume4Values(scrollPaddingShorthand(), important); | 2450 return Consume4Values(scrollPaddingShorthand(), important); |
2451 case CSSPropertyScrollSnapMargin: | 2451 case CSSPropertyScrollSnapMargin: |
2452 return Consume4Values(scrollSnapMarginShorthand(), important); | 2452 return Consume4Values(scrollSnapMarginShorthand(), important); |
| 2453 case CSSPropertyScrollBoundaryBehavior: |
| 2454 return Consume2Values(scrollBoundaryBehaviorShorthand(), important); |
2453 default: | 2455 default: |
2454 return false; | 2456 return false; |
2455 } | 2457 } |
2456 } | 2458 } |
2457 | 2459 |
2458 } // namespace blink | 2460 } // namespace blink |
OLD | NEW |