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

Side by Side Diff: sky/engine/core/css/CSSComputedStyleDeclaration.cpp

Issue 1068393002: remove CSS 'all' property. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 | « no previous file | sky/engine/core/css/CSSProperties.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 * 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 Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 2119 matching lines...) Expand 10 before | Expand all | Expand 10 after
2130 case CSSPropertyWebkitPerspectiveOriginY: 2130 case CSSPropertyWebkitPerspectiveOriginY:
2131 case CSSPropertyWebkitTextStroke: 2131 case CSSPropertyWebkitTextStroke:
2132 case CSSPropertyWebkitTransformOriginX: 2132 case CSSPropertyWebkitTransformOriginX:
2133 case CSSPropertyWebkitTransformOriginY: 2133 case CSSPropertyWebkitTransformOriginY:
2134 case CSSPropertyWebkitTransformOriginZ: 2134 case CSSPropertyWebkitTransformOriginZ:
2135 break; 2135 break;
2136 2136
2137 /* @viewport rule properties */ 2137 /* @viewport rule properties */
2138 case CSSPropertyOrientation: 2138 case CSSPropertyOrientation:
2139 break; 2139 break;
2140
2141 case CSSPropertyAll:
2142 return nullptr;
2143 } 2140 }
2144 2141
2145 logUnimplementedPropertyID(propertyID); 2142 logUnimplementedPropertyID(propertyID);
2146 return nullptr; 2143 return nullptr;
2147 } 2144 }
2148 2145
2149 String CSSComputedStyleDeclaration::getPropertyValue(CSSPropertyID propertyID) c onst 2146 String CSSComputedStyleDeclaration::getPropertyValue(CSSPropertyID propertyID) c onst
2150 { 2147 {
2151 RefPtr<CSSValue> value = getPropertyCSSValue(propertyID); 2148 RefPtr<CSSValue> value = getPropertyCSSValue(propertyID);
2152 if (value) 2149 if (value)
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
2309 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin, 2306 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin,
2310 CSSPropertyB ackgroundClip }; 2307 CSSPropertyB ackgroundClip };
2311 2308
2312 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); 2309 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated();
2313 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash Seperator)))); 2310 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash Seperator))));
2314 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe perator)))); 2311 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe perator))));
2315 return list.release(); 2312 return list.release();
2316 } 2313 }
2317 2314
2318 } // namespace blink 2315 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/css/CSSProperties.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698