don't discard iframe children.
[kdelibs.git] / khtml / svg / SVGSVGElement.idl
blob0aff67f34af8948fb26e1c3426af1808c235d6ce
1 /*
2 Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
3 Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
4 Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
5 Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
7 This file is part of the KDE project
9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Library General Public
11 License as published by the Free Software Foundation; either
12 version 2 of the License, or (at your option) any later version.
14 This library is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Library General Public License for more details.
19 You should have received a copy of the GNU Library General Public License
20 along with this library; see the file COPYING.LIB. If not, write to
21 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 Boston, MA 02110-1301, USA.
25 module svg {
27 // TODO: no css::ViewCSS available!
28 // TODO: Fix SVGSVGElement inheritance (css::DocumentCSS)!
29 // TODO: no events::DocumentEvent available!
30 interface [Conditional=SVG] SVGSVGElement : SVGElement/*,
31 SVGTests,
32 SVGLangSpace,
33 SVGExternalResourcesRequired,
34 SVGStylable,
35 SVGLocatable,
36 SVGFitToViewBox,
37 SVGZoomAndPan*/ {
38 /*readonly attribute SVGAnimatedLength x;
39 readonly attribute SVGAnimatedLength y;
40 readonly attribute SVGAnimatedLength width;
41 readonly attribute SVGAnimatedLength height;
42 attribute core::DOMString contentScriptType*/
43 /*setter raises(DOMException)*/;
44 attribute core::DOMString contentStyleType
45 /*setter raises(DOMException)*/;
46 readonly attribute SVGRect viewport;
47 readonly attribute float pixelUnitToMillimeterX;
48 readonly attribute float pixelUnitToMillimeterY;
49 readonly attribute float screenPixelToMillimeterX;
50 readonly attribute float screenPixelToMillimeterY;
51 attribute boolean useCurrentView
52 /*setter raises(DOMException)*/;
53 // TODO readonly attribute SVGViewSpec currentView;
54 attribute float currentScale
55 /*setter raises(DOMException)*/;
56 /*readonly attribute SVGPoint currentTranslate;
58 unsigned long suspendRedraw(in unsigned long maxWaitMilliseconds);
59 void unsuspendRedraw(in unsigned long suspendHandleId)
60 setter raises(DOMException);
61 void unsuspendRedrawAll();
62 void forceRedraw();
63 void pauseAnimations();
64 void unpauseAnimations();
65 boolean animationsPaused();
66 float getCurrentTime();
67 void setCurrentTime(in float seconds);
68 core::NodeList getIntersectionList(in SVGRect rect,
69 in SVGElement referenceElement);
70 core::NodeList getEnclosureList(in SVGRect rect,
71 in SVGElement referenceElement);
72 boolean checkIntersection(in SVGElement element,
73 in SVGRect rect);
74 boolean checkEnclosure(in SVGElement element,
75 in SVGRect rect);
76 void deselectAll();*/
78 SVGNumber createSVGNumber();
79 SVGLength createSVGLength();
80 SVGAngle createSVGAngle();
81 SVGPoint createSVGPoint();
82 SVGMatrix createSVGMatrix();
83 SVGRect createSVGRect();
84 SVGTransform createSVGTransform();
85 SVGTransform createSVGTransformFromMatrix(in SVGMatrix matrix);