svnno****@sourc*****
svnno****@sourc*****
2010年 2月 1日 (月) 21:05:02 JST
Revision: 1619 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1619 Author: dhrname Date: 2010-02-01 21:05:01 +0900 (Mon, 01 Feb 2010) Log Message: ----------- Modified Paths: -------------- branches/DOM/org/w3c/dom/css.js Modified: branches/DOM/org/w3c/dom/css.js =================================================================== --- branches/DOM/org/w3c/dom/css.js 2010-02-01 11:49:48 UTC (rev 1618) +++ branches/DOM/org/w3c/dom/css.js 2010-02-01 12:05:01 UTC (rev 1619) @@ -261,34 +261,32 @@ this._n = [1, 0.01, 1, 1, 1, 35.43307, 3.543307, 90, 1.25, 15, 1, 180 / Math.PI, 90/100, 1, 1000, 1, 1000, 1]; //CSS_PX単位への変換値(なお、CSS_SはCSS_MSに、CSS_RADとCSS_GRADはCSS_DEGに、CSS_KHZはCSS_HZに統一) return this; }; -with(CSSPrimitiveValue){ -CSS_UNKNOWN = 0; -CSS_NUMBER = 1; -CSS_PERCENTAGE = 2; -CSS_EMS = 3; -CSS_EXS = 4; -CSS_PX = 5; -CSS_CM = 6; -CSS_MM = 7; -CSS_IN = 8; -CSS_PT = 9; -CSS_PC = 10; -CSS_DEG = 11; -CSS_RAD = 12; -CSS_GRAD = 13; -CSS_MS = 14; -CSS_S = 15; -CSS_HZ = 16; -CSS_KHZ = 17; -CSS_DIMENSION = 18; -CSS_STRING = 19; -CSS_URI = 20; -CSS_IDENT = 21; -CSS_ATTR = 22; -CSS_COUNTER = 23; -CSS_RECT = 24; -CSS_RGBCOLOR = 25; -}; +CSSPrimitiveValue.CSS_UNKNOWN = 0; +CSSPrimitiveValue.CSS_NUMBER = 1; +CSSPrimitiveValue.CSS_PERCENTAGE = 2; +CSSPrimitiveValue.CSS_EMS = 3; +CSSPrimitiveValue.CSS_EXS = 4; +CSSPrimitiveValue.CSS_PX = 5; +CSSPrimitiveValue.CSS_CM = 6; +CSSPrimitiveValue.CSS_MM = 7; +CSSPrimitiveValue.CSS_IN = 8; +CSSPrimitiveValue.CSS_PT = 9; +CSSPrimitiveValue.CSS_PC = 10; +CSSPrimitiveValue.CSS_DEG = 11; +CSSPrimitiveValue.CSS_RAD = 12; +CSSPrimitiveValue.CSS_GRAD = 13; +CSSPrimitiveValue.CSS_MS = 14; +CSSPrimitiveValue.CSS_S = 15; +CSSPrimitiveValue.CSS_HZ = 16; +CSSPrimitiveValue.CSS_KHZ = 17; +CSSPrimitiveValue.CSS_DIMENSION = 18; +CSSPrimitiveValue.CSS_STRING = 19; +CSSPrimitiveValue.CSS_URI = 20; +CSSPrimitiveValue.CSS_IDENT = 21; +CSSPrimitiveValue.CSS_ATTR = 22; +CSSPrimitiveValue.CSS_COUNTER = 23; +CSSPrimitiveValue.CSS_RECT = 24; +CSSPrimitiveValue.CSS_RGBCOLOR = 25; CSSPrimitiveValue.prototype = new CSSValue(); CSSPrimitiveValue.constructor = CSSValue;