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

Unified Diff: third_party/WebKit/Source/core/svg/SVGElement.idl

Issue 1405283006: Deprecate SVGElement.offsetParent/offsetTop/offsetLeft/offsetWidth/offsetHeight (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix the tests instead Created 5 years, 1 month 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 | « third_party/WebKit/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: third_party/WebKit/Source/core/svg/SVGElement.idl
diff --git a/third_party/WebKit/Source/core/svg/SVGElement.idl b/third_party/WebKit/Source/core/svg/SVGElement.idl
index bace75e580233cb802034817ba87d3d4ef915af4..b16555fe95c3ab077dcffe62a8e521d10f19cdd0 100644
--- a/third_party/WebKit/Source/core/svg/SVGElement.idl
+++ b/third_party/WebKit/Source/core/svg/SVGElement.idl
@@ -35,11 +35,11 @@ interface SVGElement : Element {
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;
+ [DeprecateAs=V8SVGElement_OffsetParent_AttributeGetter, PerWorldBindings] readonly attribute Element? offsetParent;
+ [DeprecateAs=V8SVGElement_OffsetTop_AttributeGetter] readonly attribute long offsetTop;
+ [DeprecateAs=V8SVGElement_OffsetLeft_AttributeGetter] readonly attribute long offsetLeft;
+ [DeprecateAs=V8SVGElement_OffsetWidth_AttributeGetter] readonly attribute long offsetWidth;
+ [DeprecateAs=V8SVGElement_OffsetHeight_AttributeGetter] readonly attribute long offsetHeight;
};
SVGElement implements GlobalEventHandlers;
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698