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 8089 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8100 else | 8100 else |
8101 parsedValue = parseSVGStrokeDasharray(); | 8101 parsedValue = parseSVGStrokeDasharray(); |
8102 break; | 8102 break; |
8103 | 8103 |
8104 case CSSPropertyMaskType: // luminance | alpha | inherit | 8104 case CSSPropertyMaskType: // luminance | alpha | inherit |
8105 if (id == CSSValueLuminance || id == CSSValueAlpha) | 8105 if (id == CSSValueLuminance || id == CSSValueAlpha) |
8106 validPrimitive = true; | 8106 validPrimitive = true; |
8107 break; | 8107 break; |
8108 case CSSPropertyX: | 8108 case CSSPropertyX: |
8109 case CSSPropertyY: | 8109 case CSSPropertyY: |
| 8110 case CSSPropertyRx: |
| 8111 case CSSPropertyRy: |
8110 validPrimitive = (!id && validUnit(value, FLength | FPercent, SVGAttribu
teMode)); | 8112 validPrimitive = (!id && validUnit(value, FLength | FPercent, SVGAttribu
teMode)); |
8111 break; | 8113 break; |
8112 | 8114 |
8113 /* shorthand properties */ | 8115 /* shorthand properties */ |
8114 case CSSPropertyMarker: { | 8116 case CSSPropertyMarker: { |
8115 ShorthandScope scope(this, propId); | 8117 ShorthandScope scope(this, propId); |
8116 CSSPropertyParser::ImplicitScope implicitScope(this); | 8118 CSSPropertyParser::ImplicitScope implicitScope(this); |
8117 if (!parseValue(CSSPropertyMarkerStart, important)) | 8119 if (!parseValue(CSSPropertyMarkerStart, important)) |
8118 return false; | 8120 return false; |
8119 if (m_valueList->current()) { | 8121 if (m_valueList->current()) { |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8471 } | 8473 } |
8472 } | 8474 } |
8473 | 8475 |
8474 if (!list->length()) | 8476 if (!list->length()) |
8475 return nullptr; | 8477 return nullptr; |
8476 | 8478 |
8477 return list.release(); | 8479 return list.release(); |
8478 } | 8480 } |
8479 | 8481 |
8480 } // namespace blink | 8482 } // namespace blink |
OLD | NEW |