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

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

Issue 337093006: Remove CSS Shapes runtime flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« 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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 case CSSPropertyWebkitMinLogicalWidth: 277 case CSSPropertyWebkitMinLogicalWidth:
278 case CSSPropertyWebkitMinLogicalHeight: 278 case CSSPropertyWebkitMinLogicalHeight:
279 case CSSPropertyWebkitPaddingAfter: 279 case CSSPropertyWebkitPaddingAfter:
280 case CSSPropertyWebkitPaddingBefore: 280 case CSSPropertyWebkitPaddingBefore:
281 case CSSPropertyWebkitPaddingEnd: 281 case CSSPropertyWebkitPaddingEnd:
282 case CSSPropertyWebkitPaddingStart: 282 case CSSPropertyWebkitPaddingStart:
283 acceptsNegativeNumbers = false; 283 acceptsNegativeNumbers = false;
284 return true; 284 return true;
285 case CSSPropertyShapeMargin: 285 case CSSPropertyShapeMargin:
286 acceptsNegativeNumbers = false; 286 acceptsNegativeNumbers = false;
287 return RuntimeEnabledFeatures::cssShapesEnabled(); 287 return true;
288 case CSSPropertyBottom: 288 case CSSPropertyBottom:
289 case CSSPropertyLeft: 289 case CSSPropertyLeft:
290 case CSSPropertyMarginBottom: 290 case CSSPropertyMarginBottom:
291 case CSSPropertyMarginLeft: 291 case CSSPropertyMarginLeft:
292 case CSSPropertyMarginRight: 292 case CSSPropertyMarginRight:
293 case CSSPropertyMarginTop: 293 case CSSPropertyMarginTop:
294 case CSSPropertyRight: 294 case CSSPropertyRight:
295 case CSSPropertyTop: 295 case CSSPropertyTop:
296 case CSSPropertyWebkitMarginAfter: 296 case CSSPropertyWebkitMarginAfter:
297 case CSSPropertyWebkitMarginBefore: 297 case CSSPropertyWebkitMarginBefore:
(...skipping 1804 matching lines...) Expand 10 before | Expand all | Expand 10 after
2102 rule->setProperties(createStylePropertySet()); 2102 rule->setProperties(createStylePropertySet());
2103 clearProperties(); 2103 clearProperties();
2104 2104
2105 StyleRuleViewport* result = rule.get(); 2105 StyleRuleViewport* result = rule.get();
2106 m_parsedRules.append(rule.release()); 2106 m_parsedRules.append(rule.release());
2107 2107
2108 return result; 2108 return result;
2109 } 2109 }
2110 2110
2111 } 2111 }
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