svnno****@sourc*****
svnno****@sourc*****
2011年 10月 30日 (日) 23:37:01 JST
Revision: 3051 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=3051 Author: dhrname Date: 2011-10-30 23:37:01 +0900 (Sun, 30 Oct 2011) Log Message: ----------- setPropertyメソッドからcolorに関する記述を削除 Modified Paths: -------------- branches/08x/088/org/w3c/dom/css.js Modified: branches/08x/088/org/w3c/dom/css.js =================================================================== --- branches/08x/088/org/w3c/dom/css.js 2011-10-30 14:23:39 UTC (rev 3050) +++ branches/08x/088/org/w3c/dom/css.js 2011-10-30 14:37:01 UTC (rev 3051) @@ -313,22 +313,6 @@ ti.colorType = /*SVGColor.SVG_COLORTYPE_RGBCOLOR*/ 1; } ti.setRGBColor(value); - } else if (this._isColor[propertyName]) { - if (tg) { //見つかった場合 - ti = tg; - } else { - ti = new CSSPrimitiveValue(); - } - fill = this.getPropertyCSSValue("fill"); - stroke = this.getPropertyCSSValue("stroke"); - stop = this.getPropertyCSSValue("stop-color"); - if (fill && (fill.paintType === /*SVGPaint.SVG_PAINTTYPE_CURRENTCOLOR*/ 102)) { - fill.setPaint(fill.paintType, null, value, null); - } else if (stroke && (stroke.paintType === /*SVGPaint.SVG_PAINTTYPE_CURRENTCOLOR*/ 102)) { - stroke.setPaint(fill.paintType, null, value, null); - } else if (stop && (stop.colorType === /*SVGColor.SVG_COLORTYPE_CURRENTCOLOR*/ 3)) { - stop.setRGBColor(value); - } } else { if (tg) { //見つかった場合 ti = tg;