[Sie-announce] SIEコード [1646] 1, CSSValueListのtypeプロパティを作った

Zurück zum Archiv-Index

svnno****@sourc***** svnno****@sourc*****
2010年 2月 6日 (土) 23:41:08 JST


Revision: 1646
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1646
Author:   dhrname
Date:     2010-02-06 23:41:08 +0900 (Sat, 06 Feb 2010)

Log Message:
-----------
1, CSSValueListのtypeプロパティを作った

Modified Paths:
--------------
    branches/ufltima/dom/css.js

Modified: branches/ufltima/dom/css.js
===================================================================
--- branches/ufltima/dom/css.js	2010-02-06 14:39:11 UTC (rev 1645)
+++ branches/ufltima/dom/css.js	2010-02-06 14:41:08 UTC (rev 1646)
@@ -109,7 +109,7 @@
   CSSRule.call(this, arguments);
   this.type = CSSRule.STYLE_RULE;
   this.selectorText = "";
-/*CSSStyleDeclaration*/ this.style;
+/*CSSStyleDeclaration*/ this.style = new CSSStyleDeclaration();
   return this;
 };
 CSSStyleRule.prototype = new CSSRule();
@@ -231,7 +231,7 @@
       value.priority = priority;
       tg[propertyName] = value;
     } else {
-      var ti = new CSSValue();      
+      var ti = new CSSPrimitiveValue();
       value.priority = priority;
       ti[propertyName] = value;
       ti._num = this._list.length;
@@ -341,6 +341,7 @@
  *Arrayで代用する
  */
 function CSSValueList() {
+  this.cssValueType = CSSValue.CSS_VALUE_LIST;
   this.length = 0;
   return this;
 };
@@ -378,7 +379,7 @@
 };
 
 /*CSS2Properties
- *削除可
+ *削除不可
  *//*
 var CSS2Properties = {
   azimuth : "center",
@@ -434,15 +435,11 @@
   font : "inline",
   fontFamily : "inline",
   fontSize : "inline",
-  fontSizeAdjust;
+  fontSizeAdjust : "none",
+  fontStretch : "normal",
+  fontStyle : "normal",
                                         // raises(dom::DOMException) on setting
 
-  fontStretch;
-                                        // raises(dom::DOMException) on setting
-
-  fontStyle;
-                                        // raises(dom::DOMException) on setting
-
   fontVariant;
                                         // raises(dom::DOMException) on setting
 




Sie-announce メーリングリストの案内
Zurück zum Archiv-Index