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

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

Issue 16357011: Remove support for -webkit-color-correction (which we've never supported on (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: resolve merge conflicts, obey brace style changes Created 7 years, 6 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/WebKit/chromium/tests/TransparencyWinTest.cpp ('k') | Source/core/css/CSSParser.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) 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 CSSPropertyWebkitBoxDirection, 224 CSSPropertyWebkitBoxDirection,
225 CSSPropertyWebkitBoxFlex, 225 CSSPropertyWebkitBoxFlex,
226 CSSPropertyWebkitBoxFlexGroup, 226 CSSPropertyWebkitBoxFlexGroup,
227 CSSPropertyWebkitBoxLines, 227 CSSPropertyWebkitBoxLines,
228 CSSPropertyWebkitBoxOrdinalGroup, 228 CSSPropertyWebkitBoxOrdinalGroup,
229 CSSPropertyWebkitBoxOrient, 229 CSSPropertyWebkitBoxOrient,
230 CSSPropertyWebkitBoxPack, 230 CSSPropertyWebkitBoxPack,
231 CSSPropertyWebkitBoxReflect, 231 CSSPropertyWebkitBoxReflect,
232 CSSPropertyWebkitBoxShadow, 232 CSSPropertyWebkitBoxShadow,
233 CSSPropertyWebkitClipPath, 233 CSSPropertyWebkitClipPath,
234 CSSPropertyWebkitColorCorrection,
235 CSSPropertyWebkitColumnBreakAfter, 234 CSSPropertyWebkitColumnBreakAfter,
236 CSSPropertyWebkitColumnBreakBefore, 235 CSSPropertyWebkitColumnBreakBefore,
237 CSSPropertyWebkitColumnBreakInside, 236 CSSPropertyWebkitColumnBreakInside,
238 CSSPropertyWebkitColumnAxis, 237 CSSPropertyWebkitColumnAxis,
239 CSSPropertyWebkitColumnCount, 238 CSSPropertyWebkitColumnCount,
240 CSSPropertyWebkitColumnGap, 239 CSSPropertyWebkitColumnGap,
241 CSSPropertyWebkitColumnProgression, 240 CSSPropertyWebkitColumnProgression,
242 CSSPropertyWebkitColumnRuleColor, 241 CSSPropertyWebkitColumnRuleColor,
243 CSSPropertyWebkitColumnRuleStyle, 242 CSSPropertyWebkitColumnRuleStyle,
244 CSSPropertyWebkitColumnRuleWidth, 243 CSSPropertyWebkitColumnRuleWidth,
(...skipping 2283 matching lines...) Expand 10 before | Expand all | Expand 10 after
2528 RefPtr<CSSValueList> list = CSSValueList::createSpaceSeparated(); 2527 RefPtr<CSSValueList> list = CSSValueList::createSpaceSeparated();
2529 // transition-property default value. 2528 // transition-property default value.
2530 list->append(cssValuePool().createIdentifierValue(CSSValueAll)); 2529 list->append(cssValuePool().createIdentifierValue(CSSValueAll));
2531 list->append(cssValuePool().createValue(CSSAnimationData::initialAni mationDuration(), CSSPrimitiveValue::CSS_S)); 2530 list->append(cssValuePool().createValue(CSSAnimationData::initialAni mationDuration(), CSSPrimitiveValue::CSS_S));
2532 list->append(createTimingFunctionValue(CSSAnimationData::initialAnim ationTimingFunction().get())); 2531 list->append(createTimingFunctionValue(CSSAnimationData::initialAnim ationTimingFunction().get()));
2533 list->append(cssValuePool().createValue(CSSAnimationData::initialAni mationDelay(), CSSPrimitiveValue::CSS_S)); 2532 list->append(cssValuePool().createValue(CSSAnimationData::initialAni mationDelay(), CSSPrimitiveValue::CSS_S));
2534 return list.release(); 2533 return list.release();
2535 } 2534 }
2536 case CSSPropertyPointerEvents: 2535 case CSSPropertyPointerEvents:
2537 return cssValuePool().createValue(style->pointerEvents()); 2536 return cssValuePool().createValue(style->pointerEvents());
2538 case CSSPropertyWebkitColorCorrection:
2539 return cssValuePool().createValue(style->colorSpace());
2540 case CSSPropertyWebkitLineGrid: 2537 case CSSPropertyWebkitLineGrid:
2541 if (style->lineGrid().isNull()) 2538 if (style->lineGrid().isNull())
2542 return cssValuePool().createIdentifierValue(CSSValueNone); 2539 return cssValuePool().createIdentifierValue(CSSValueNone);
2543 return cssValuePool().createValue(style->lineGrid(), CSSPrimitiveVal ue::CSS_STRING); 2540 return cssValuePool().createValue(style->lineGrid(), CSSPrimitiveVal ue::CSS_STRING);
2544 case CSSPropertyWebkitLineSnap: 2541 case CSSPropertyWebkitLineSnap:
2545 return CSSPrimitiveValue::create(style->lineSnap()); 2542 return CSSPrimitiveValue::create(style->lineSnap());
2546 case CSSPropertyWebkitLineAlign: 2543 case CSSPropertyWebkitLineAlign:
2547 return CSSPrimitiveValue::create(style->lineAlign()); 2544 return CSSPrimitiveValue::create(style->lineAlign());
2548 case CSSPropertyWebkitWritingMode: 2545 case CSSPropertyWebkitWritingMode:
2549 return cssValuePool().createValue(style->writingMode()); 2546 return cssValuePool().createValue(style->writingMode());
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
2997 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin, 2994 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin,
2998 CSSPropertyB ackgroundClip }; 2995 CSSPropertyB ackgroundClip };
2999 2996
3000 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); 2997 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated();
3001 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlashSeperat or)))); 2998 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlashSeperat or))));
3002 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSeperator )))); 2999 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSeperator ))));
3003 return list.release(); 3000 return list.release();
3004 } 3001 }
3005 3002
3006 } // namespace WebCore 3003 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/tests/TransparencyWinTest.cpp ('k') | Source/core/css/CSSParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698