Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp

Issue 2769793002: Implement CSS: scroll-boundary-behavior (Closed)
Patch Set: Update promises tests and Scroll Manager Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698