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

Side by Side Diff: third_party/WebKit/Source/core/css/StylePropertySerializer.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 /* 1 /*
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All
4 * rights reserved. 4 * rights reserved.
5 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. 5 * Copyright (C) 2011 Research In Motion Limited. All rights reserved.
6 * Copyright (C) 2013 Intel Corporation. All rights reserved. 6 * Copyright (C) 2013 Intel Corporation. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 case CSSPropertyFontVariant: 473 case CSSPropertyFontVariant:
474 return FontVariantValue(); 474 return FontVariantValue();
475 case CSSPropertyMargin: 475 case CSSPropertyMargin:
476 return Get4Values(marginShorthand()); 476 return Get4Values(marginShorthand());
477 case CSSPropertyOffset: 477 case CSSPropertyOffset:
478 return OffsetValue(); 478 return OffsetValue();
479 case CSSPropertyWebkitMarginCollapse: 479 case CSSPropertyWebkitMarginCollapse:
480 return GetShorthandValue(webkitMarginCollapseShorthand()); 480 return GetShorthandValue(webkitMarginCollapseShorthand());
481 case CSSPropertyOverflow: 481 case CSSPropertyOverflow:
482 return GetCommonValue(overflowShorthand()); 482 return GetCommonValue(overflowShorthand());
483 case CSSPropertyScrollBoundaryBehavior:
484 return GetCommonValue(scrollBoundaryBehaviorShorthand());
483 case CSSPropertyPadding: 485 case CSSPropertyPadding:
484 return Get4Values(paddingShorthand()); 486 return Get4Values(paddingShorthand());
485 case CSSPropertyTextDecoration: 487 case CSSPropertyTextDecoration:
486 return GetShorthandValue(textDecorationShorthand()); 488 return GetShorthandValue(textDecorationShorthand());
487 case CSSPropertyTransition: 489 case CSSPropertyTransition:
488 return GetLayeredShorthandValue(transitionShorthand()); 490 return GetLayeredShorthandValue(transitionShorthand());
489 case CSSPropertyListStyle: 491 case CSSPropertyListStyle:
490 return GetShorthandValue(listStyleShorthand()); 492 return GetShorthandValue(listStyleShorthand());
491 case CSSPropertyWebkitMaskPosition: 493 case CSSPropertyWebkitMaskPosition:
492 return GetLayeredShorthandValue(webkitMaskPositionShorthand()); 494 return GetLayeredShorthandValue(webkitMaskPositionShorthand());
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 : repeat_x; 1035 : repeat_x;
1034 const CSSValue& y_value = 1036 const CSSValue& y_value =
1035 repeat_y_list ? repeat_y_list->Item(i % repeat_y_list->length()) 1037 repeat_y_list ? repeat_y_list->Item(i % repeat_y_list->length())
1036 : repeat_y; 1038 : repeat_y;
1037 AppendBackgroundRepeatValue(builder, x_value, y_value); 1039 AppendBackgroundRepeatValue(builder, x_value, y_value);
1038 } 1040 }
1039 return builder.ToString(); 1041 return builder.ToString();
1040 } 1042 }
1041 1043
1042 } // namespace blink 1044 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698