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

Side by Side Diff: Source/core/css/parser/BisonCSSParser-in.cpp

Issue 216793009: Remove shape-padding (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove m_padding Created 6 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
« no previous file with comments | « Source/core/css/RuntimeCSSEnabled.cpp ('k') | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) 3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com)
4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. 8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.
9 * Copyright (C) 2012 Intel Corporation. All rights reserved. 9 * Copyright (C) 2012 Intel Corporation. All rights reserved.
10 * 10 *
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 case CSSPropertyWebkitLogicalHeight: 279 case CSSPropertyWebkitLogicalHeight:
280 case CSSPropertyWebkitMinLogicalWidth: 280 case CSSPropertyWebkitMinLogicalWidth:
281 case CSSPropertyWebkitMinLogicalHeight: 281 case CSSPropertyWebkitMinLogicalHeight:
282 case CSSPropertyWebkitPaddingAfter: 282 case CSSPropertyWebkitPaddingAfter:
283 case CSSPropertyWebkitPaddingBefore: 283 case CSSPropertyWebkitPaddingBefore:
284 case CSSPropertyWebkitPaddingEnd: 284 case CSSPropertyWebkitPaddingEnd:
285 case CSSPropertyWebkitPaddingStart: 285 case CSSPropertyWebkitPaddingStart:
286 acceptsNegativeNumbers = false; 286 acceptsNegativeNumbers = false;
287 return true; 287 return true;
288 case CSSPropertyShapeMargin: 288 case CSSPropertyShapeMargin:
289 case CSSPropertyShapePadding:
290 acceptsNegativeNumbers = false; 289 acceptsNegativeNumbers = false;
291 return RuntimeEnabledFeatures::cssShapesEnabled(); 290 return RuntimeEnabledFeatures::cssShapesEnabled();
292 case CSSPropertyBottom: 291 case CSSPropertyBottom:
293 case CSSPropertyLeft: 292 case CSSPropertyLeft:
294 case CSSPropertyMarginBottom: 293 case CSSPropertyMarginBottom:
295 case CSSPropertyMarginLeft: 294 case CSSPropertyMarginLeft:
296 case CSSPropertyMarginRight: 295 case CSSPropertyMarginRight:
297 case CSSPropertyMarginTop: 296 case CSSPropertyMarginTop:
298 case CSSPropertyRight: 297 case CSSPropertyRight:
299 case CSSPropertyTop: 298 case CSSPropertyTop:
(...skipping 1885 matching lines...) Expand 10 before | Expand all | Expand 10 after
2185 rule->setProperties(createStylePropertySet()); 2184 rule->setProperties(createStylePropertySet());
2186 clearProperties(); 2185 clearProperties();
2187 2186
2188 StyleRuleViewport* result = rule.get(); 2187 StyleRuleViewport* result = rule.get();
2189 m_parsedRules.append(rule.release()); 2188 m_parsedRules.append(rule.release());
2190 2189
2191 return result; 2190 return result;
2192 } 2191 }
2193 2192
2194 } 2193 }
OLDNEW
« no previous file with comments | « Source/core/css/RuntimeCSSEnabled.cpp ('k') | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698