eseidel | ebc3ff1 | 2007-10-18 07:30:13 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
| 3 | * |
zimmermann@webkit.org | c19aac8 | 2010-08-03 12:50:41 +0000 | [diff] [blame] | 4 | * Redistribution and use in source and binary forms, with or without |
| 5 | * modification, are permitted provided that the following conditions |
| 6 | * are met: |
| 7 | * 1. Redistributions of source code must retain the above copyright |
| 8 | * notice, this list of conditions and the following disclaimer. |
| 9 | * 2. Redistributions in binary form must reproduce the above copyright |
| 10 | * notice, this list of conditions and the following disclaimer in the |
| 11 | * documentation and/or other materials provided with the distribution. |
eseidel | ebc3ff1 | 2007-10-18 07:30:13 +0000 | [diff] [blame] | 12 | * |
zimmermann@webkit.org | 711245f | 2010-08-03 19:39:01 +0000 | [diff] [blame] | 13 | * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY |
zimmermann@webkit.org | c19aac8 | 2010-08-03 12:50:41 +0000 | [diff] [blame] | 14 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 15 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
zimmermann@webkit.org | 711245f | 2010-08-03 19:39:01 +0000 | [diff] [blame] | 16 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR |
zimmermann@webkit.org | c19aac8 | 2010-08-03 12:50:41 +0000 | [diff] [blame] | 17 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 18 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 19 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 20 | * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 21 | * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 22 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
eseidel | ebc3ff1 | 2007-10-18 07:30:13 +0000 | [diff] [blame] | 24 | */ |
| 25 | |
commit-queue@webkit.org | cab10ce | 2012-10-12 06:10:17 +0000 | [diff] [blame] | 26 | // SVGViewSpec intentionally doesn't inherit from SVGZoomAndPan & SVGFitToViewBox on the IDLs. |
| 27 | // It would require that any of those classes would be RefCounted, and we want to avoid that. |
commit-queue@webkit.org | a4d60d1 | 2012-10-12 11:44:58 +0000 | [diff] [blame] | 28 | [ |
darin@apple.com | 4e6d626 | 2016-10-22 20:56:47 +0000 | [diff] [blame] | 29 | ImplementationLacksVTable, |
| 30 | JSGenerateToJSObject, |
commit-queue@webkit.org | a4d60d1 | 2012-10-12 11:44:58 +0000 | [diff] [blame] | 31 | ] interface SVGViewSpec { |
darin@apple.com | 4e6d626 | 2016-10-22 20:56:47 +0000 | [diff] [blame] | 32 | readonly attribute SVGTransformList transform; |
| 33 | readonly attribute SVGElement viewTarget; |
| 34 | readonly attribute DOMString viewBoxString; |
| 35 | readonly attribute DOMString preserveAspectRatioString; |
| 36 | readonly attribute DOMString transformString; |
| 37 | readonly attribute DOMString viewTargetString; |
eseidel | ebc3ff1 | 2007-10-18 07:30:13 +0000 | [diff] [blame] | 38 | |
darin@apple.com | 4e6d626 | 2016-10-22 20:56:47 +0000 | [diff] [blame] | 39 | // SVGZoomAndPan |
| 40 | [SetterMayThrowException] attribute unsigned short zoomAndPan; |
commit-queue@webkit.org | cab10ce | 2012-10-12 06:10:17 +0000 | [diff] [blame] | 41 | }; |
zimmermann@webkit.org | cdbf6db | 2012-05-29 08:41:58 +0000 | [diff] [blame] | 42 | |
ch.dumez@sisa.samsung.com | 588799a | 2013-06-26 14:28:00 +0000 | [diff] [blame] | 43 | SVGViewSpec implements SVGFitToViewBox; |