| 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 8145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8156 validPrimitive = (!id && validUnit(value, FNumber | FPercent, SVGAttribu
teMode)); | 8156 validPrimitive = (!id && validUnit(value, FNumber | FPercent, SVGAttribu
teMode)); |
| 8157 break; | 8157 break; |
| 8158 | 8158 |
| 8159 case CSSPropertyShapeRendering: | 8159 case CSSPropertyShapeRendering: |
| 8160 // auto | optimizeSpeed | crispEdges | geometricPrecision | inherit | 8160 // auto | optimizeSpeed | crispEdges | geometricPrecision | inherit |
| 8161 if (id == CSSValueAuto || id == CSSValueOptimizespeed | 8161 if (id == CSSValueAuto || id == CSSValueOptimizespeed |
| 8162 || id == CSSValueCrispedges || id == CSSValueGeometricprecision) | 8162 || id == CSSValueCrispedges || id == CSSValueGeometricprecision) |
| 8163 validPrimitive = true; | 8163 validPrimitive = true; |
| 8164 break; | 8164 break; |
| 8165 | 8165 |
| 8166 case CSSPropertyImageRendering: // auto | optimizeSpeed | | 8166 case CSSPropertyImageRendering: // auto | optimizeSpeed | pixelated |
| 8167 if (RuntimeEnabledFeatures::imageRenderingPixelatedEnabled() && id == CS
SValuePixelated) { |
| 8168 validPrimitive = true; |
| 8169 break; |
| 8170 } |
| 8167 case CSSPropertyColorRendering: // optimizeQuality | inherit | 8171 case CSSPropertyColorRendering: // optimizeQuality | inherit |
| 8168 if (id == CSSValueAuto || id == CSSValueOptimizespeed | 8172 if (id == CSSValueAuto || id == CSSValueOptimizespeed |
| 8169 || id == CSSValueOptimizequality) | 8173 || id == CSSValueOptimizequality) |
| 8170 validPrimitive = true; | 8174 validPrimitive = true; |
| 8171 break; | 8175 break; |
| 8172 | 8176 |
| 8173 case CSSPropertyBufferedRendering: // auto | dynamic | static | 8177 case CSSPropertyBufferedRendering: // auto | dynamic | static |
| 8174 if (id == CSSValueAuto || id == CSSValueDynamic || id == CSSValueStatic) | 8178 if (id == CSSValueAuto || id == CSSValueDynamic || id == CSSValueStatic) |
| 8175 validPrimitive = true; | 8179 validPrimitive = true; |
| 8176 break; | 8180 break; |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8427 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill)); | 8431 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill)); |
| 8428 if (!seenStroke) | 8432 if (!seenStroke) |
| 8429 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke)
); | 8433 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke)
); |
| 8430 if (!seenMarkers) | 8434 if (!seenMarkers) |
| 8431 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers
)); | 8435 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers
)); |
| 8432 | 8436 |
| 8433 return parsedValues.release(); | 8437 return parsedValues.release(); |
| 8434 } | 8438 } |
| 8435 | 8439 |
| 8436 } // namespace WebCore | 8440 } // namespace WebCore |
| OLD | NEW |