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

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

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: Update the test Created 3 years, 6 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 case CSSPropertyBorderLeft: 439 case CSSPropertyBorderLeft:
440 return GetShorthandValue(borderLeftShorthand()); 440 return GetShorthandValue(borderLeftShorthand());
441 case CSSPropertyOutline: 441 case CSSPropertyOutline:
442 return GetShorthandValue(outlineShorthand()); 442 return GetShorthandValue(outlineShorthand());
443 case CSSPropertyBorderColor: 443 case CSSPropertyBorderColor:
444 return Get4Values(borderColorShorthand()); 444 return Get4Values(borderColorShorthand());
445 case CSSPropertyBorderWidth: 445 case CSSPropertyBorderWidth:
446 return Get4Values(borderWidthShorthand()); 446 return Get4Values(borderWidthShorthand());
447 case CSSPropertyBorderStyle: 447 case CSSPropertyBorderStyle:
448 return Get4Values(borderStyleShorthand()); 448 return Get4Values(borderStyleShorthand());
449 case CSSPropertyScrollBoundaryBehavior:
450 return GetCommonValue(scrollBoundaryBehaviorShorthand());
449 case CSSPropertyColumnRule: 451 case CSSPropertyColumnRule:
450 return GetShorthandValue(columnRuleShorthand()); 452 return GetShorthandValue(columnRuleShorthand());
451 case CSSPropertyColumns: 453 case CSSPropertyColumns:
452 return GetShorthandValue(columnsShorthand()); 454 return GetShorthandValue(columnsShorthand());
453 case CSSPropertyFlex: 455 case CSSPropertyFlex:
454 return GetShorthandValue(flexShorthand()); 456 return GetShorthandValue(flexShorthand());
455 case CSSPropertyFlexFlow: 457 case CSSPropertyFlexFlow:
456 return GetShorthandValue(flexFlowShorthand()); 458 return GetShorthandValue(flexFlowShorthand());
457 case CSSPropertyGridColumn: 459 case CSSPropertyGridColumn:
458 return GetShorthandValue(gridColumnShorthand(), " / "); 460 return GetShorthandValue(gridColumnShorthand(), " / ");
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 : repeat_x; 955 : repeat_x;
954 const CSSValue& y_value = 956 const CSSValue& y_value =
955 repeat_y_list ? repeat_y_list->Item(i % repeat_y_list->length()) 957 repeat_y_list ? repeat_y_list->Item(i % repeat_y_list->length())
956 : repeat_y; 958 : repeat_y;
957 AppendBackgroundRepeatValue(builder, x_value, y_value); 959 AppendBackgroundRepeatValue(builder, x_value, y_value);
958 } 960 }
959 return builder.ToString(); 961 return builder.ToString();
960 } 962 }
961 963
962 } // namespace blink 964 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698