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

Side by Side Diff: Source/core/css/resolver/StyleBuilderCustom.cpp

Issue 216803002: Implement all shorthand property. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated css-properties-as-js-properties-expected.txt Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
4 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) 4 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com)
5 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) 5 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com)
6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved.
7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> 8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org>
9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
10 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. 10 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
(...skipping 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after
1343 case CSSPropertyGridRow: 1343 case CSSPropertyGridRow:
1344 case CSSPropertyGridArea: 1344 case CSSPropertyGridArea:
1345 case CSSPropertyWebkitMarginCollapse: 1345 case CSSPropertyWebkitMarginCollapse:
1346 case CSSPropertyWebkitMask: 1346 case CSSPropertyWebkitMask:
1347 case CSSPropertyWebkitMaskPosition: 1347 case CSSPropertyWebkitMaskPosition:
1348 case CSSPropertyWebkitMaskRepeat: 1348 case CSSPropertyWebkitMaskRepeat:
1349 case CSSPropertyWebkitTextEmphasis: 1349 case CSSPropertyWebkitTextEmphasis:
1350 case CSSPropertyWebkitTextStroke: 1350 case CSSPropertyWebkitTextStroke:
1351 case CSSPropertyWebkitTransition: 1351 case CSSPropertyWebkitTransition:
1352 case CSSPropertyWebkitTransformOrigin: 1352 case CSSPropertyWebkitTransformOrigin:
1353 case CSSPropertyAll:
1353 ASSERT(isExpandedShorthand(id)); 1354 ASSERT(isExpandedShorthand(id));
1354 ASSERT_NOT_REACHED(); 1355 ASSERT_NOT_REACHED();
1355 break; 1356 break;
1356 1357
1357 // CSS3 Properties 1358 // CSS3 Properties
1358 case CSSPropertyWebkitBoxReflect: { 1359 case CSSPropertyWebkitBoxReflect: {
1359 HANDLE_INHERIT_AND_INITIAL(boxReflect, BoxReflect) 1360 HANDLE_INHERIT_AND_INITIAL(boxReflect, BoxReflect)
1360 if (primitiveValue) { 1361 if (primitiveValue) {
1361 state.style()->setBoxReflect(RenderStyle::initialBoxReflect()); 1362 state.style()->setBoxReflect(RenderStyle::initialBoxReflect());
1362 return; 1363 return;
(...skipping 819 matching lines...) Expand 10 before | Expand all | Expand 10 after
2182 break; 2183 break;
2183 } 2184 }
2184 case CSSPropertyEnableBackground: 2185 case CSSPropertyEnableBackground:
2185 // Silently ignoring this property for now 2186 // Silently ignoring this property for now
2186 // http://bugs.webkit.org/show_bug.cgi?id=6022 2187 // http://bugs.webkit.org/show_bug.cgi?id=6022
2187 break; 2188 break;
2188 } 2189 }
2189 } 2190 }
2190 2191
2191 } // namespace WebCore 2192 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698