svnno****@sourc*****
svnno****@sourc*****
2011年 4月 16日 (土) 22:57:28 JST
Revision: 2595
http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2595
Author: dhrname
Date: 2011-04-16 22:57:27 +0900 (Sat, 16 Apr 2011)
Log Message:
-----------
CSSPrimitiveValueのsetStringValueメソッドとgetStringValueメソッドを修正
Modified Paths:
--------------
branches/07x/075/org/w3c/dom/css.js
Modified: branches/07x/075/org/w3c/dom/css.js
===================================================================
--- branches/07x/075/org/w3c/dom/css.js 2011-04-16 13:38:23 UTC (rev 2594)
+++ branches/07x/075/org/w3c/dom/css.js 2011-04-16 13:57:27 UTC (rev 2595)
@@ -446,13 +446,13 @@
if (CSSPrimitiveValue.CSS_DIMENSION >= stringType && stringType >= CSSPrimitiveValue.CSS_COUNTER) { //文字列型をサポートしないCSS単位である場合
throw new DOMException(DOMException.INVALID_ACCESS_ERR);
}
- this.cssText = stringValue;
+ this._value = stringValue;
};
-/*string*/ CSSPrimitiveValue.prototype.getStringValue = function() {
+/*string*/ CSSPrimitiveValue.prototype.getStringValue = function(/*short*/ stringType) {
if (CSSPrimitiveValue.CSS_DIMENSION >= stringType && stringType >= CSSPrimitiveValue.CSS_COUNTER) { //文字列型をサポートしないCSS単位である場合
throw new DOMException(DOMException.INVALID_ACCESS_ERR);
}
- return (this.cssText);
+ return (this._value);
};
/*Counter*/ CSSPrimitiveValue.prototype.getCounterValue = function() {
if (this.primitiveType !== CSSPrimitiveValue.CSS_COUNTER) { //Counter型ではないとき