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 2611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2622 return CSSPrimitiveValue::createIdentifier(CSSValueAuto); | 2622 return CSSPrimitiveValue::createIdentifier(CSSValueAuto); |
2623 return nullptr; | 2623 return nullptr; |
2624 } | 2624 } |
2625 case CSSPropertyPaintOrder: | 2625 case CSSPropertyPaintOrder: |
2626 return paintOrderToCSSValueList(svgStyle); | 2626 return paintOrderToCSSValueList(svgStyle); |
2627 case CSSPropertyVectorEffect: | 2627 case CSSPropertyVectorEffect: |
2628 return CSSPrimitiveValue::create(svgStyle.vectorEffect()); | 2628 return CSSPrimitiveValue::create(svgStyle.vectorEffect()); |
2629 case CSSPropertyMaskType: | 2629 case CSSPropertyMaskType: |
2630 return CSSPrimitiveValue::create(svgStyle.maskType()); | 2630 return CSSPrimitiveValue::create(svgStyle.maskType()); |
2631 case CSSPropertyMarker: | 2631 case CSSPropertyMarker: |
2632 case CSSPropertyEnableBackground: | |
2633 // the above properties are not yet implemented in the engine | 2632 // the above properties are not yet implemented in the engine |
2634 return nullptr; | 2633 return nullptr; |
2635 case CSSPropertyCx: | 2634 case CSSPropertyCx: |
2636 return zoomAdjustedPixelValueForLength(svgStyle.cx(), style); | 2635 return zoomAdjustedPixelValueForLength(svgStyle.cx(), style); |
2637 case CSSPropertyCy: | 2636 case CSSPropertyCy: |
2638 return zoomAdjustedPixelValueForLength(svgStyle.cy(), style); | 2637 return zoomAdjustedPixelValueForLength(svgStyle.cy(), style); |
2639 case CSSPropertyX: | 2638 case CSSPropertyX: |
2640 return zoomAdjustedPixelValueForLength(svgStyle.x(), style); | 2639 return zoomAdjustedPixelValueForLength(svgStyle.x(), style); |
2641 case CSSPropertyY: | 2640 case CSSPropertyY: |
2642 return zoomAdjustedPixelValueForLength(svgStyle.y(), style); | 2641 return zoomAdjustedPixelValueForLength(svgStyle.y(), style); |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2709 case CSSPropertyAll: | 2708 case CSSPropertyAll: |
2710 return nullptr; | 2709 return nullptr; |
2711 default: | 2710 default: |
2712 break; | 2711 break; |
2713 } | 2712 } |
2714 ASSERT_NOT_REACHED(); | 2713 ASSERT_NOT_REACHED(); |
2715 return nullptr; | 2714 return nullptr; |
2716 } | 2715 } |
2717 | 2716 |
2718 } | 2717 } |
OLD | NEW |