OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
5 * Copyright (C) 2006 Apple Inc. All rights reserved. | 5 * Copyright (C) 2006 Apple Inc. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 interface SVGElement : Element { | 25 interface SVGElement : Element { |
26 [RuntimeEnabled=SVG1DOM, MeasureAs=SVGClassName] readonly attribute SVGAnima
tedString className; | 26 [RuntimeEnabled=SVG1DOM, MeasureAs=SVGClassName] readonly attribute SVGAnima
tedString className; |
27 readonly attribute CSSStyleDeclaration style; | 27 readonly attribute CSSStyleDeclaration style; |
28 | 28 |
29 readonly attribute SVGSVGElement? ownerSVGElement; | 29 readonly attribute SVGSVGElement? ownerSVGElement; |
30 readonly attribute SVGElement? viewportElement; | 30 readonly attribute SVGElement? viewportElement; |
31 [CustomElementCallbacks] attribute long tabIndex; | 31 [CustomElementCallbacks] attribute long tabIndex; |
32 void focus(); | 32 void focus(); |
33 void blur(); | 33 void blur(); |
| 34 |
| 35 // TODO(tanay.c): SVGElement.offset* are non-standard. crbug.com/463116 |
| 36 [Measure, PerWorldBindings] readonly attribute Element? offsetParent; |
| 37 [Measure] readonly attribute long offsetTop; |
| 38 [Measure] readonly attribute long offsetLeft; |
| 39 [Measure] readonly attribute long offsetWidth; |
| 40 [Measure] readonly attribute long offsetHeight; |
34 }; | 41 }; |
35 | 42 |
36 SVGElement implements GlobalEventHandlers; | 43 SVGElement implements GlobalEventHandlers; |
OLD | NEW |