| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> | 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. |
| 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
| 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> | 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> |
| 6 * Copyright (C) 2011 Sencha, Inc. All rights reserved. | 6 * Copyright (C) 2011 Sencha, Inc. All rights reserved. |
| 7 * Copyright (C) 2015 Google Inc. All rights reserved. | 7 * Copyright (C) 2015 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Lesser General Public | 10 * modify it under the terms of the GNU Lesser General Public |
| (...skipping 2618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2629 case CSSPropertyPaintOrder: | 2629 case CSSPropertyPaintOrder: |
| 2630 return paintOrderToCSSValueList(svgStyle); | 2630 return paintOrderToCSSValueList(svgStyle); |
| 2631 case CSSPropertyVectorEffect: | 2631 case CSSPropertyVectorEffect: |
| 2632 return CSSPrimitiveValue::create(svgStyle.vectorEffect()); | 2632 return CSSPrimitiveValue::create(svgStyle.vectorEffect()); |
| 2633 case CSSPropertyMaskType: | 2633 case CSSPropertyMaskType: |
| 2634 return CSSPrimitiveValue::create(svgStyle.maskType()); | 2634 return CSSPrimitiveValue::create(svgStyle.maskType()); |
| 2635 case CSSPropertyMarker: | 2635 case CSSPropertyMarker: |
| 2636 // the above properties are not yet implemented in the engine | 2636 // the above properties are not yet implemented in the engine |
| 2637 return nullptr; | 2637 return nullptr; |
| 2638 case CSSPropertyD: | 2638 case CSSPropertyD: |
| 2639 return svgStyle.d(); | 2639 return svgStyle.d()->computedCSSValue(); |
| 2640 case CSSPropertyCx: | 2640 case CSSPropertyCx: |
| 2641 return zoomAdjustedPixelValueForLength(svgStyle.cx(), style); | 2641 return zoomAdjustedPixelValueForLength(svgStyle.cx(), style); |
| 2642 case CSSPropertyCy: | 2642 case CSSPropertyCy: |
| 2643 return zoomAdjustedPixelValueForLength(svgStyle.cy(), style); | 2643 return zoomAdjustedPixelValueForLength(svgStyle.cy(), style); |
| 2644 case CSSPropertyX: | 2644 case CSSPropertyX: |
| 2645 return zoomAdjustedPixelValueForLength(svgStyle.x(), style); | 2645 return zoomAdjustedPixelValueForLength(svgStyle.x(), style); |
| 2646 case CSSPropertyY: | 2646 case CSSPropertyY: |
| 2647 return zoomAdjustedPixelValueForLength(svgStyle.y(), style); | 2647 return zoomAdjustedPixelValueForLength(svgStyle.y(), style); |
| 2648 case CSSPropertyR: | 2648 case CSSPropertyR: |
| 2649 return zoomAdjustedPixelValueForLength(svgStyle.r(), style); | 2649 return zoomAdjustedPixelValueForLength(svgStyle.r(), style); |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2734 case CSSPropertyAll: | 2734 case CSSPropertyAll: |
| 2735 return nullptr; | 2735 return nullptr; |
| 2736 default: | 2736 default: |
| 2737 break; | 2737 break; |
| 2738 } | 2738 } |
| 2739 ASSERT_NOT_REACHED(); | 2739 ASSERT_NOT_REACHED(); |
| 2740 return nullptr; | 2740 return nullptr; |
| 2741 } | 2741 } |
| 2742 | 2742 |
| 2743 } | 2743 } |
| OLD | NEW |