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

Unified Diff: core/svg/SVGLength.idl

Issue 206333004: Update IDL to 1847 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Add new files Created 6 years, 9 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 | « core/svg/SVGImageElement.idl ('k') | core/svg/SVGLengthList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/svg/SVGLength.idl
diff --git a/core/svg/SVGLength.idl b/core/svg/SVGLength.idl
index 4d29af7ffa441373471a79ed3075c3f0ecdf49bb..97d9fead735875e12f136c8b152df6ef7dd9b0bb 100644
--- a/core/svg/SVGLength.idl
+++ b/core/svg/SVGLength.idl
@@ -20,7 +20,11 @@
* Boston, MA 02110-1301, USA.
*/
-interface SVGLength {
+[
+ ImplementedAs=SVGLengthTearOff,
+ SetWrapperReferenceTo(SVGElement contextElement),
+ StrictTypeChecking,
+] interface SVGLength {
// Length Unit Types
const unsigned short SVG_LENGTHTYPE_UNKNOWN = 0;
const unsigned short SVG_LENGTHTYPE_NUMBER = 1;
@@ -35,14 +39,13 @@ interface SVGLength {
const unsigned short SVG_LENGTHTYPE_PC = 10;
readonly attribute unsigned short unitType;
- [Custom, StrictTypeChecking, RaisesException] attribute float value;
+ [RaisesException] attribute float value;
- [StrictTypeChecking] attribute float valueInSpecifiedUnits;
- [TreatNullAs=NullString, StrictTypeChecking, RaisesException=Setter] attribute DOMString valueAsString;
+ [RaisesException=Setter] attribute float valueInSpecifiedUnits;
+ [TreatNullAs=NullString, RaisesException=Setter] attribute DOMString valueAsString;
- [StrictTypeChecking, RaisesException] void newValueSpecifiedUnits(unsigned short unitType,
- float valueInSpecifiedUnits);
+ [RaisesException] void newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits);
- [Custom, StrictTypeChecking, RaisesException] void convertToSpecifiedUnits(unsigned short unitType);
+ [RaisesException] void convertToSpecifiedUnits(unsigned short unitType);
};
« no previous file with comments | « core/svg/SVGImageElement.idl ('k') | core/svg/SVGLengthList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698