| 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 7648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7659 /* The comment to the right defines all valid value of these | 7659 /* The comment to the right defines all valid value of these |
| 7660 * properties as defined in SVG 1.1, Appendix N. Property index */ | 7660 * properties as defined in SVG 1.1, Appendix N. Property index */ |
| 7661 case CSSPropertyBaselineShift: | 7661 case CSSPropertyBaselineShift: |
| 7662 // baseline | super | sub | <percentage> | <length> | inherit | 7662 // baseline | super | sub | <percentage> | <length> | inherit |
| 7663 if (id == CSSValueBaseline || id == CSSValueSub || id == CSSValueSuper) | 7663 if (id == CSSValueBaseline || id == CSSValueSub || id == CSSValueSuper) |
| 7664 validPrimitive = true; | 7664 validPrimitive = true; |
| 7665 else | 7665 else |
| 7666 validPrimitive = validUnit(value, FLength | FPercent, SVGAttributeMo
de); | 7666 validPrimitive = validUnit(value, FLength | FPercent, SVGAttributeMo
de); |
| 7667 break; | 7667 break; |
| 7668 | 7668 |
| 7669 case CSSPropertyEnableBackground: | |
| 7670 // accumulate | new [x] [y] [width] [height] | inherit | |
| 7671 if (id == CSSValueAccumulate) // TODO : new | |
| 7672 validPrimitive = true; | |
| 7673 break; | |
| 7674 | |
| 7675 case CSSPropertyClipPath: | 7669 case CSSPropertyClipPath: |
| 7676 case CSSPropertyFilter: | 7670 case CSSPropertyFilter: |
| 7677 case CSSPropertyMarkerStart: | 7671 case CSSPropertyMarkerStart: |
| 7678 case CSSPropertyMarkerMid: | 7672 case CSSPropertyMarkerMid: |
| 7679 case CSSPropertyMarkerEnd: | 7673 case CSSPropertyMarkerEnd: |
| 7680 case CSSPropertyMask: | 7674 case CSSPropertyMask: |
| 7681 if (id == CSSValueNone) { | 7675 if (id == CSSValueNone) { |
| 7682 validPrimitive = true; | 7676 validPrimitive = true; |
| 7683 } else if (value->unit() == CSSPrimitiveValue::UnitType::URI) { | 7677 } else if (value->unit() == CSSPrimitiveValue::UnitType::URI) { |
| 7684 parsedValue = CSSPrimitiveValue::create(value->string, CSSPrimitiveV
alue::UnitType::URI); | 7678 parsedValue = CSSPrimitiveValue::create(value->string, CSSPrimitiveV
alue::UnitType::URI); |
| (...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8143 } | 8137 } |
| 8144 } | 8138 } |
| 8145 | 8139 |
| 8146 if (!list->length()) | 8140 if (!list->length()) |
| 8147 return nullptr; | 8141 return nullptr; |
| 8148 | 8142 |
| 8149 return list.release(); | 8143 return list.release(); |
| 8150 } | 8144 } |
| 8151 | 8145 |
| 8152 } // namespace blink | 8146 } // namespace blink |
| OLD | NEW |