svnno****@sourc*****
svnno****@sourc*****
2011年 4月 15日 (金) 23:34:01 JST
Revision: 2592
http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2592
Author: dhrname
Date: 2011-04-15 23:34:01 +0900 (Fri, 15 Apr 2011)
Log Message:
-----------
SVGColorのプロパティを整理して、軽量化
Modified Paths:
--------------
branches/07x/075/org/w3c/dom/svg.js
Modified: branches/07x/075/org/w3c/dom/svg.js
===================================================================
--- branches/07x/075/org/w3c/dom/svg.js 2011-04-15 14:29:51 UTC (rev 2591)
+++ branches/07x/075/org/w3c/dom/svg.js 2011-04-15 14:34:01 UTC (rev 2592)
@@ -696,9 +696,7 @@
};
function SVGColor() {
CSSValue.call(this, arguments);
- /*readonly unsigned short*/ this.colorType = /*SVGColor.SVG_COLORTYPE_UNKNOWN*/ 0;
/*readonly css::RGBColor*/ this.rgbColor = new RGBColor();
- /*readonly SVGICCColor*/ this.iccColor;
return this;
};
@@ -710,6 +708,8 @@
SVGColor.prototype = new CSSValue(); //ノードのプロトタイプチェーンを作って、継承
SVGColor.constructor = CSSValue;
+/*readonly unsigned short*/ SVGColor.prototype.colorType = /*SVGColor.SVG_COLORTYPE_UNKNOWN*/ 0;
+/*readonly SVGICCColor*/ SVGColor.prototype.iccColor = null;
/*void*/ SVGColor.prototype.setRGBColor = function(/*DOMString*/ rgbColor ){
var tkr = this._keywords[rgbColor],
s,