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

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

Issue 927113002: Add TypeChecking=Unrestricted to SVG{Matrix,Rect,Point} (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | « no previous file | Source/core/svg/SVGPoint.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGMatrix.idl
diff --git a/Source/core/svg/SVGMatrix.idl b/Source/core/svg/SVGMatrix.idl
index 8e38b1df9a8a384f8c5e369d6d7c36d2bad88422..ac2fe3c2505b00aa4f853046e4b524c3ad49f435 100644
--- a/Source/core/svg/SVGMatrix.idl
+++ b/Source/core/svg/SVGMatrix.idl
@@ -21,30 +21,30 @@
*/
[
- TypeChecking=Interface,
ImplementedAs=SVGMatrixTearOff,
SetWrapperReferenceTo(SVGTransform contextTransform),
+ TypeChecking=(Interface, Unrestricted),
WillBeGarbageCollected,
] interface SVGMatrix {
// FIXME: these attributes should all be floats but since we implement
// AffineTransform with doubles setting these as doubles makes more sense.
- [RaisesException=Setter] attribute double a;
- [RaisesException=Setter] attribute double b;
- [RaisesException=Setter] attribute double c;
- [RaisesException=Setter] attribute double d;
- [RaisesException=Setter] attribute double e;
- [RaisesException=Setter] attribute double f;
+ [RaisesException=Setter] attribute unrestricted double a;
+ [RaisesException=Setter] attribute unrestricted double b;
+ [RaisesException=Setter] attribute unrestricted double c;
+ [RaisesException=Setter] attribute unrestricted double d;
+ [RaisesException=Setter] attribute unrestricted double e;
+ [RaisesException=Setter] attribute unrestricted double f;
SVGMatrix multiply(SVGMatrix secondMatrix);
[RaisesException] SVGMatrix inverse();
- SVGMatrix translate(float x, float y);
- SVGMatrix scale(float scaleFactor);
- SVGMatrix scaleNonUniform(float scaleFactorX, float scaleFactorY);
- SVGMatrix rotate(float angle);
- [RaisesException] SVGMatrix rotateFromVector(float x, float y);
+ SVGMatrix translate(unrestricted float x, unrestricted float y);
+ SVGMatrix scale(unrestricted float scaleFactor);
+ SVGMatrix scaleNonUniform(unrestricted float scaleFactorX, unrestricted float scaleFactorY);
+ SVGMatrix rotate(unrestricted float angle);
+ [RaisesException] SVGMatrix rotateFromVector(unrestricted float x, unrestricted float y);
SVGMatrix flipX();
SVGMatrix flipY();
- SVGMatrix skewX(float angle);
- SVGMatrix skewY(float angle);
+ SVGMatrix skewX(unrestricted float angle);
+ SVGMatrix skewY(unrestricted float angle);
};
« no previous file with comments | « no previous file | Source/core/svg/SVGPoint.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698