| 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 8238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8249 if (id == CSSValueAuto || id == CSSValueOptimizespeed | 8249 if (id == CSSValueAuto || id == CSSValueOptimizespeed |
| 8250 || id == CSSValueOptimizequality) | 8250 || id == CSSValueOptimizequality) |
| 8251 validPrimitive = true; | 8251 validPrimitive = true; |
| 8252 break; | 8252 break; |
| 8253 | 8253 |
| 8254 case CSSPropertyBufferedRendering: // auto | dynamic | static | 8254 case CSSPropertyBufferedRendering: // auto | dynamic | static |
| 8255 if (id == CSSValueAuto || id == CSSValueDynamic || id == CSSValueStatic) | 8255 if (id == CSSValueAuto || id == CSSValueDynamic || id == CSSValueStatic) |
| 8256 validPrimitive = true; | 8256 validPrimitive = true; |
| 8257 break; | 8257 break; |
| 8258 | 8258 |
| 8259 case CSSPropertyColorProfile: // auto | sRGB | <name> | <uri> inherit | |
| 8260 if (id == CSSValueAuto || id == CSSValueSrgb) | |
| 8261 validPrimitive = true; | |
| 8262 break; | |
| 8263 | |
| 8264 case CSSPropertyColorInterpolation: // auto | sRGB | linearRGB | inherit | 8259 case CSSPropertyColorInterpolation: // auto | sRGB | linearRGB | inherit |
| 8265 case CSSPropertyColorInterpolationFilters: | 8260 case CSSPropertyColorInterpolationFilters: |
| 8266 if (id == CSSValueAuto || id == CSSValueSrgb || id == CSSValueLinearrgb) | 8261 if (id == CSSValueAuto || id == CSSValueSrgb || id == CSSValueLinearrgb) |
| 8267 validPrimitive = true; | 8262 validPrimitive = true; |
| 8268 break; | 8263 break; |
| 8269 | 8264 |
| 8270 /* Start of supported CSS properties with validation. This is needed for par
seShortHand to work | 8265 /* Start of supported CSS properties with validation. This is needed for par
seShortHand to work |
| 8271 * correctly and allows optimization in applyRule(..) | 8266 * correctly and allows optimization in applyRule(..) |
| 8272 */ | 8267 */ |
| 8273 | 8268 |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8523 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill)); | 8518 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill)); |
| 8524 if (!seenStroke) | 8519 if (!seenStroke) |
| 8525 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke)
); | 8520 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke)
); |
| 8526 if (!seenMarkers) | 8521 if (!seenMarkers) |
| 8527 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers
)); | 8522 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers
)); |
| 8528 | 8523 |
| 8529 return parsedValues.release(); | 8524 return parsedValues.release(); |
| 8530 } | 8525 } |
| 8531 | 8526 |
| 8532 } // namespace WebCore | 8527 } // namespace WebCore |
| OLD | NEW |