OSDN Git Service

cssモジュールのCSSRule系インターフェースの軽量化
authordhrname <dhrname@users.sourceforge.jp>
Mon, 12 Nov 2012 14:15:34 +0000 (23:15 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Mon, 12 Nov 2012 14:15:34 +0000 (23:15 +0900)
org/w3c/dom/css.js

index bf523c5..1c9ceba 100644 (file)
@@ -106,7 +106,7 @@ CSSRule.FONT_FACE_RULE                 = 5;
 CSSRule.PAGE_RULE                      = 6;*/
 
 function CSSStyleRule() {
-  CSSRule.call(this, arguments);
+  CSSRule.call(this);
   this.type = /*CSSRule.STYLE_RULE*/ 1;
   this.selectorText = "";
 /*CSSStyleDeclaration*/ this.style = new CSSStyleDeclaration();
@@ -116,7 +116,7 @@ function CSSStyleRule() {
 CSSStyleRule.prototype = Object._create(CSSRule);
 
 function CSSMediaRule() {
-  CSSRule.call(this, arguments);
+  CSSRule.call(this);
   this.type = /*CSSRule.MEDIA_RULE*/ 4;
 /*stylesheets::MediaList*/ this.media = new MediaList();
 /*CSSRuleList*/ this.cssRules = [];
@@ -132,7 +132,7 @@ CSSMediaRule.prototype = Object._create(CSSRule);
 };
 
 function CSSFontFaceRule() {
-  CSSRule.call(this, arguments);
+  CSSRule.call(this);
   this.type = /*CSSRule.FONT_FACE_RULE*/ 5;
 /*CSSStyleDeclaration*/ this.style;
   return this;
@@ -140,7 +140,7 @@ function CSSFontFaceRule() {
 CSSFontFaceRule.prototype = Object._create(CSSRule);
 
 function CSSPageRule() {
-  CSSRule.call(this, arguments);
+  CSSRule.call(this);
   this.type = /*CSSRule.PAGE_RULE*/ 6;
   this.selectorText = "";
 /*CSSStyleDeclaration*/ this.style;
@@ -149,7 +149,7 @@ function CSSPageRule() {
 CSSPageRule.prototype = Object._create(CSSRule);
 
 function CSSImportRule() {
-  CSSRule.call(this, arguments);
+  CSSRule.call(this);
   this.type = /*CSSRule.IMPORT_RULE*/ 3;
   this.href = "";
 /*stylesheets::MediaList*/ this.media = new MediaList();
@@ -159,7 +159,7 @@ function CSSImportRule() {
 CSSImportRule.prototype = Object._create(CSSRule);
 
 function CSSCharsetRule() {
-  CSSRule.call(this, arguments);
+  CSSRule.call(this);
   this.type = /*CSSRule.CHARSET_RULE*/ 2;
   this.encoding = "";
   return this;
@@ -167,7 +167,7 @@ function CSSCharsetRule() {
 CSSCharsetRule.prototype = Object._create(CSSRule);
 
 function CSSUnknownRule() {
-  CSSRule.call(this, arguments);
+  CSSRule.call(this);
   this.type = /*CSSRule.UNKNOWN_RULE*/ 0;
   return this;
 };