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

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

Issue 2828503002: CSS Motion Path: delete implementation of motion shorthand (Closed)
Patch Set: test update Created 3 years, 8 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 case CSSPropertyOutline: 328 case CSSPropertyOutline:
329 case CSSPropertyColumnRule: 329 case CSSPropertyColumnRule:
330 case CSSPropertyColumns: 330 case CSSPropertyColumns:
331 case CSSPropertyFlex: 331 case CSSPropertyFlex:
332 case CSSPropertyFlexFlow: 332 case CSSPropertyFlexFlow:
333 case CSSPropertyGridColumn: 333 case CSSPropertyGridColumn:
334 case CSSPropertyGridRow: 334 case CSSPropertyGridRow:
335 case CSSPropertyGridArea: 335 case CSSPropertyGridArea:
336 case CSSPropertyGridGap: 336 case CSSPropertyGridGap:
337 case CSSPropertyListStyle: 337 case CSSPropertyListStyle:
338 case CSSPropertyMotion:
339 case CSSPropertyOffset: 338 case CSSPropertyOffset:
340 case CSSPropertyTextDecoration: 339 case CSSPropertyTextDecoration:
341 case CSSPropertyWebkitMarginCollapse: 340 case CSSPropertyWebkitMarginCollapse:
342 case CSSPropertyWebkitMask: 341 case CSSPropertyWebkitMask:
343 case CSSPropertyWebkitTextEmphasis: 342 case CSSPropertyWebkitTextEmphasis:
344 case CSSPropertyWebkitTextStroke: 343 case CSSPropertyWebkitTextStroke:
345 return true; 344 return true;
346 default: 345 default:
347 return false; 346 return false;
348 } 347 }
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 case CSSPropertyPlaceItems: 467 case CSSPropertyPlaceItems:
469 return GetAlignmentShorthandValue(placeItemsShorthand()); 468 return GetAlignmentShorthandValue(placeItemsShorthand());
470 case CSSPropertyPlaceSelf: 469 case CSSPropertyPlaceSelf:
471 return GetAlignmentShorthandValue(placeSelfShorthand()); 470 return GetAlignmentShorthandValue(placeSelfShorthand());
472 case CSSPropertyFont: 471 case CSSPropertyFont:
473 return FontValue(); 472 return FontValue();
474 case CSSPropertyFontVariant: 473 case CSSPropertyFontVariant:
475 return FontVariantValue(); 474 return FontVariantValue();
476 case CSSPropertyMargin: 475 case CSSPropertyMargin:
477 return Get4Values(marginShorthand()); 476 return Get4Values(marginShorthand());
478 case CSSPropertyMotion:
479 return GetShorthandValue(motionShorthand());
480 case CSSPropertyOffset: 477 case CSSPropertyOffset:
481 return GetShorthandValue(offsetShorthand()); 478 return GetShorthandValue(offsetShorthand());
482 case CSSPropertyWebkitMarginCollapse: 479 case CSSPropertyWebkitMarginCollapse:
483 return GetShorthandValue(webkitMarginCollapseShorthand()); 480 return GetShorthandValue(webkitMarginCollapseShorthand());
484 case CSSPropertyOverflow: 481 case CSSPropertyOverflow:
485 return GetCommonValue(overflowShorthand()); 482 return GetCommonValue(overflowShorthand());
486 case CSSPropertyPadding: 483 case CSSPropertyPadding:
487 return Get4Values(paddingShorthand()); 484 return Get4Values(paddingShorthand());
488 case CSSPropertyTextDecoration: 485 case CSSPropertyTextDecoration:
489 return GetShorthandValue(textDecorationShorthand()); 486 return GetShorthandValue(textDecorationShorthand());
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 : repeat_x; 953 : repeat_x;
957 const CSSValue& y_value = 954 const CSSValue& y_value =
958 repeat_y_list ? repeat_y_list->Item(i % repeat_y_list->length()) 955 repeat_y_list ? repeat_y_list->Item(i % repeat_y_list->length())
959 : repeat_y; 956 : repeat_y;
960 AppendBackgroundRepeatValue(builder, x_value, y_value); 957 AppendBackgroundRepeatValue(builder, x_value, y_value);
961 } 958 }
962 return builder.ToString(); 959 return builder.ToString();
963 } 960 }
964 961
965 } // namespace blink 962 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698