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

Unified Diff: Source/core/svg/SVGRect.idl

Issue 132233010: [SVG] SVGAnimatedRect migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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
Index: Source/core/svg/SVGRect.idl
diff --git a/Source/core/svg/SVGRect.idl b/Source/core/svg/SVGRect.idl
index e148788295b608f6fe387ed948e89e5f58aeb981..e2512bd96ce2986bcf5e9c84e356910a96166caa 100644
--- a/Source/core/svg/SVGRect.idl
+++ b/Source/core/svg/SVGRect.idl
@@ -20,10 +20,12 @@
* Boston, MA 02110-1301, USA.
*/
-interface SVGRect {
- [StrictTypeChecking] attribute float x;
- [StrictTypeChecking] attribute float y;
- [StrictTypeChecking] attribute float width;
- [StrictTypeChecking] attribute float height;
+[
+ ImplementedAs=SVGRectTearOff
+] interface SVGRect {
+ [StrictTypeChecking, RaisesException=Setter] attribute float x;
+ [StrictTypeChecking, RaisesException=Setter] attribute float y;
+ [StrictTypeChecking, RaisesException=Setter] attribute float width;
+ [StrictTypeChecking, RaisesException=Setter] attribute float height;
};

Powered by Google App Engine
This is Rietveld 408576698