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

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

Issue 2769793002: Implement CSS: scroll-boundary-behavior (Closed)
Patch Set: Add documentation 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 2432 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp ('k') | third_party/WebKit/Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698