| OLD | NEW |
| 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 8132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8143 validPrimitive = (!id && validUnit(value, FNumber | FPercent, SVGAttribu
teMode)); | 8143 validPrimitive = (!id && validUnit(value, FNumber | FPercent, SVGAttribu
teMode)); |
| 8144 break; | 8144 break; |
| 8145 | 8145 |
| 8146 case CSSPropertyShapeRendering: | 8146 case CSSPropertyShapeRendering: |
| 8147 // auto | optimizeSpeed | crispEdges | geometricPrecision | inherit | 8147 // auto | optimizeSpeed | crispEdges | geometricPrecision | inherit |
| 8148 if (id == CSSValueAuto || id == CSSValueOptimizespeed | 8148 if (id == CSSValueAuto || id == CSSValueOptimizespeed |
| 8149 || id == CSSValueCrispedges || id == CSSValueGeometricprecision) | 8149 || id == CSSValueCrispedges || id == CSSValueGeometricprecision) |
| 8150 validPrimitive = true; | 8150 validPrimitive = true; |
| 8151 break; | 8151 break; |
| 8152 | 8152 |
| 8153 case CSSPropertyImageRendering: // auto | optimizeSpeed | | 8153 case CSSPropertyImageRendering: // auto | optimizeSpeed | pixelated |
| 8154 if (RuntimeEnabledFeatures::imageRenderingPixelatedEnabled() && id == CS
SValuePixelated) { |
| 8155 validPrimitive = true; |
| 8156 break; |
| 8157 } |
| 8154 case CSSPropertyColorRendering: // optimizeQuality | inherit | 8158 case CSSPropertyColorRendering: // optimizeQuality | inherit |
| 8155 if (id == CSSValueAuto || id == CSSValueOptimizespeed | 8159 if (id == CSSValueAuto || id == CSSValueOptimizespeed |
| 8156 || id == CSSValueOptimizequality) | 8160 || id == CSSValueOptimizequality) |
| 8157 validPrimitive = true; | 8161 validPrimitive = true; |
| 8158 break; | 8162 break; |
| 8159 | 8163 |
| 8160 case CSSPropertyBufferedRendering: // auto | dynamic | static | 8164 case CSSPropertyBufferedRendering: // auto | dynamic | static |
| 8161 if (id == CSSValueAuto || id == CSSValueDynamic || id == CSSValueStatic) | 8165 if (id == CSSValueAuto || id == CSSValueDynamic || id == CSSValueStatic) |
| 8162 validPrimitive = true; | 8166 validPrimitive = true; |
| 8163 break; | 8167 break; |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8417 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill)); | 8421 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill)); |
| 8418 if (!seenStroke) | 8422 if (!seenStroke) |
| 8419 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke)
); | 8423 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke)
); |
| 8420 if (!seenMarkers) | 8424 if (!seenMarkers) |
| 8421 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers
)); | 8425 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers
)); |
| 8422 | 8426 |
| 8423 return parsedValues.release(); | 8427 return parsedValues.release(); |
| 8424 } | 8428 } |
| 8425 | 8429 |
| 8426 } // namespace WebCore | 8430 } // namespace WebCore |
| OLD | NEW |