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 2544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2555 case CSSPropertyMaskType: | 2555 case CSSPropertyMaskType: |
2556 return CSSPrimitiveValue::create(svgStyle.maskType()); | 2556 return CSSPrimitiveValue::create(svgStyle.maskType()); |
2557 case CSSPropertyMarker: | 2557 case CSSPropertyMarker: |
2558 case CSSPropertyEnableBackground: | 2558 case CSSPropertyEnableBackground: |
2559 // the above properties are not yet implemented in the engine | 2559 // the above properties are not yet implemented in the engine |
2560 return nullptr; | 2560 return nullptr; |
2561 case CSSPropertyX: | 2561 case CSSPropertyX: |
2562 return zoomAdjustedPixelValueForLength(svgStyle.x(), style); | 2562 return zoomAdjustedPixelValueForLength(svgStyle.x(), style); |
2563 case CSSPropertyY: | 2563 case CSSPropertyY: |
2564 return zoomAdjustedPixelValueForLength(svgStyle.y(), style); | 2564 return zoomAdjustedPixelValueForLength(svgStyle.y(), style); |
| 2565 case CSSPropertyRx: |
| 2566 return zoomAdjustedPixelValueForLength(svgStyle.rx(), style); |
| 2567 case CSSPropertyRy: |
| 2568 return zoomAdjustedPixelValueForLength(svgStyle.ry(), style); |
2565 | 2569 |
2566 case CSSPropertyAll: | 2570 case CSSPropertyAll: |
2567 return nullptr; | 2571 return nullptr; |
2568 } | 2572 } |
2569 ASSERT_NOT_REACHED(); | 2573 ASSERT_NOT_REACHED(); |
2570 return nullptr; | 2574 return nullptr; |
2571 } | 2575 } |
2572 | 2576 |
2573 } | 2577 } |
OLD | NEW |