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

Unified 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: Rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/frame/UseCounter.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGElement.idl
diff --git a/Source/core/svg/SVGElement.idl b/Source/core/svg/SVGElement.idl
index 1e4ac18c3bc13b741c065fd7cdb1115541069f1a..1bb5bdf78c057d1607dd6d8445583f10fbd2ee09 100644
--- a/Source/core/svg/SVGElement.idl
+++ b/Source/core/svg/SVGElement.idl
@@ -31,6 +31,12 @@ interface SVGElement : Element {
[CustomElementCallbacks] attribute long tabIndex;
void focus();
void blur();
+
+ [Measure, PerWorldBindings] readonly attribute Element? offsetParent;
philipj_slow 2015/07/10 09:39:33 Document this as // TODO(tanay.c): SVGElement.off
philipj_slow 2015/07/10 11:16:30 Make that crbug.com/463116 and also use BUG=463116
tanay.c 2015/07/14 11:02:45 Acknowledged.
tanay.c 2015/07/14 11:02:45 Done.
+ [Measure] readonly attribute long offsetTop;
+ [Measure] readonly attribute long offsetLeft;
+ [Measure] readonly attribute long offsetWidth;
+ [Measure] readonly attribute long offsetHeight;
};
SVGElement implements GlobalEventHandlers;
« 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