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

Side by Side Diff: Source/core/css/ComputedStyleCSSValueMapping.cpp

Issue 1286973002: Deprecate enable-background property (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixed failures Created 5 years, 4 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/CSSProperties.in ('k') | Source/core/css/SVGCSSValueKeywords.in » ('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) 2004 Zack Rusin <zack@kde.org> 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
6 * Copyright (C) 2011 Sencha, Inc. All rights reserved. 6 * Copyright (C) 2011 Sencha, Inc. All rights reserved.
7 * Copyright (C) 2015 Google Inc. All rights reserved. 7 * Copyright (C) 2015 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public 10 * modify it under the terms of the GNU Lesser General Public
(...skipping 2611 matching lines...) Expand 10 before | Expand all | Expand 10 after
2622 return CSSPrimitiveValue::createIdentifier(CSSValueAuto); 2622 return CSSPrimitiveValue::createIdentifier(CSSValueAuto);
2623 return nullptr; 2623 return nullptr;
2624 } 2624 }
2625 case CSSPropertyPaintOrder: 2625 case CSSPropertyPaintOrder:
2626 return paintOrderToCSSValueList(svgStyle); 2626 return paintOrderToCSSValueList(svgStyle);
2627 case CSSPropertyVectorEffect: 2627 case CSSPropertyVectorEffect:
2628 return CSSPrimitiveValue::create(svgStyle.vectorEffect()); 2628 return CSSPrimitiveValue::create(svgStyle.vectorEffect());
2629 case CSSPropertyMaskType: 2629 case CSSPropertyMaskType:
2630 return CSSPrimitiveValue::create(svgStyle.maskType()); 2630 return CSSPrimitiveValue::create(svgStyle.maskType());
2631 case CSSPropertyMarker: 2631 case CSSPropertyMarker:
2632 case CSSPropertyEnableBackground:
2633 // the above properties are not yet implemented in the engine 2632 // the above properties are not yet implemented in the engine
2634 return nullptr; 2633 return nullptr;
2635 case CSSPropertyCx: 2634 case CSSPropertyCx:
2636 return zoomAdjustedPixelValueForLength(svgStyle.cx(), style); 2635 return zoomAdjustedPixelValueForLength(svgStyle.cx(), style);
2637 case CSSPropertyCy: 2636 case CSSPropertyCy:
2638 return zoomAdjustedPixelValueForLength(svgStyle.cy(), style); 2637 return zoomAdjustedPixelValueForLength(svgStyle.cy(), style);
2639 case CSSPropertyX: 2638 case CSSPropertyX:
2640 return zoomAdjustedPixelValueForLength(svgStyle.x(), style); 2639 return zoomAdjustedPixelValueForLength(svgStyle.x(), style);
2641 case CSSPropertyY: 2640 case CSSPropertyY:
2642 return zoomAdjustedPixelValueForLength(svgStyle.y(), style); 2641 return zoomAdjustedPixelValueForLength(svgStyle.y(), style);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
2709 case CSSPropertyAll: 2708 case CSSPropertyAll:
2710 return nullptr; 2709 return nullptr;
2711 default: 2710 default:
2712 break; 2711 break;
2713 } 2712 }
2714 ASSERT_NOT_REACHED(); 2713 ASSERT_NOT_REACHED();
2715 return nullptr; 2714 return nullptr;
2716 } 2715 }
2717 2716
2718 } 2717 }
OLDNEW
« no previous file with comments | « Source/core/css/CSSProperties.in ('k') | Source/core/css/SVGCSSValueKeywords.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698