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

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: 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 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..56b61321e2b400152c387fface35ffe63329c28c 100644
--- a/Source/core/svg/SVGElement.idl
+++ b/Source/core/svg/SVGElement.idl
@@ -31,6 +31,13 @@ interface SVGElement : Element {
[CustomElementCallbacks] attribute long tabIndex;
void focus();
void blur();
+
+ // TODO(tanay.c): SVGElement.offset* are non-standard. crbug.com/463116
+ [Measure, PerWorldBindings] readonly attribute Element? offsetParent;
+ [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