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 2461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2472 case CSSPropertyScrollPadding: | 2472 case CSSPropertyScrollPadding: |
2473 return Consume4Values(scrollPaddingShorthand(), important); | 2473 return Consume4Values(scrollPaddingShorthand(), important); |
2474 case CSSPropertyScrollPaddingInline: | 2474 case CSSPropertyScrollPaddingInline: |
2475 return Consume2Values(scrollPaddingInlineShorthand(), important); | 2475 return Consume2Values(scrollPaddingInlineShorthand(), important); |
2476 case CSSPropertyScrollSnapMargin: | 2476 case CSSPropertyScrollSnapMargin: |
2477 return Consume4Values(scrollSnapMarginShorthand(), important); | 2477 return Consume4Values(scrollSnapMarginShorthand(), important); |
2478 case CSSPropertyScrollSnapMarginBlock: | 2478 case CSSPropertyScrollSnapMarginBlock: |
2479 return Consume2Values(scrollSnapMarginBlockShorthand(), important); | 2479 return Consume2Values(scrollSnapMarginBlockShorthand(), important); |
2480 case CSSPropertyScrollSnapMarginInline: | 2480 case CSSPropertyScrollSnapMarginInline: |
2481 return Consume2Values(scrollSnapMarginInlineShorthand(), important); | 2481 return Consume2Values(scrollSnapMarginInlineShorthand(), important); |
| 2482 case CSSPropertyScrollBoundaryBehavior: |
| 2483 return Consume2Values(scrollBoundaryBehaviorShorthand(), important); |
2482 default: | 2484 default: |
2483 return false; | 2485 return false; |
2484 } | 2486 } |
2485 } | 2487 } |
2486 | 2488 |
2487 } // namespace blink | 2489 } // namespace blink |
OLD | NEW |