Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(346)

Side by Side Diff: Source/core/svg/SVGElement.idl

Issue 1231533002: Deprecate Element.offsetParent/offsetTop/offsetLeft/offsetWidth/offsetHeight (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added tests Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/frame/UseCounter.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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;
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698