OSDN Git Service

font関連のインターフェースをbase関数で表現
authordhrname <sie-developers@lists.sourceforge.jp>
Sat, 1 Nov 2014 14:25:13 +0000 (23:25 +0900)
committerdhrname <sie-developers@lists.sourceforge.jp>
Sat, 1 Nov 2014 14:25:13 +0000 (23:25 +0900)
org/w3c/dom/svg.js

index 357a232..3d2b614 100644 (file)
@@ -4631,7 +4631,7 @@ base.$1.SVGGradientElement = function () {
   /*unsigned short SVGGradientElement.SVG_SPREADMETHOD_REFLECT = 2;\r
   /*unsigned short SVGGradientElement.SVG_SPREADMETHOD_REPEAT  = 3;*/\r
 \r
-base.$1.up("http://www.w3.org/2000/svglinearGradientElement").on("initialize", function () {\r
+base.$1.up("http://www.w3.org/2000/svglinearGradient").on("initialize", function () {\r
   this.SVGGradientElement();\r
   var sl = SVGAnimatedLength;\r
   /*readonly SVGAnimatedLength*/ this.x1 = new sl();\r
@@ -4660,7 +4660,7 @@ base.$1.up("http://www.w3.org/2000/svglinearGradientElement").on("initialize", f
   }, false);\r
 } );\r
 \r
-base.$1.up("http://www.w3.org/2000/svgradialGradientElement").on("initialize", function (_doc) {\r
+base.$1.up("http://www.w3.org/2000/svgradialGradient").on("initialize", function (_doc) {\r
   this.SVGGradientElement();\r
   var sl = SVGAnimatedLength;\r
   /*readonly SVGAnimatedLength*/ this.cx = new sl();\r
@@ -4773,7 +4773,7 @@ base.$1.up("http://www.w3.org/2000/svgradialGradientElement").on("initialize", f
   }, false);\r
 } );\r
 \r
-function SVGStopElement() {\r
+base.$1.up("http://www.w3.org/2000/svgstop").on("initialize",  function () {\r
   /*readonly SVGAnimatedNumber*/ this.offset = base("$SVGAnimatedNumber").up();\r
   this.addEventListener("DOMAttrModified", function(evt) {\r
     if (evt.attrName === "offset") {\r
@@ -4786,7 +4786,7 @@ function SVGStopElement() {
     }\r
     evt = void 0;\r
   }, false);\r
-};\r
+} );\r
 \r
 function SVGPatternElement() {\r
   var sl = SVGAnimatedLength;\r
@@ -6085,7 +6085,7 @@ function SVGAnimateTransformElement() {
 };\r
 SVGAnimateTransformElement.prototype = Object._create(SVGAnimationElement);\r
 \r
-function SVGFontElement() /*:\r
+base.$1.up("http://www.w3.org/2000/svgfont").on("initialize",  function ()  /*:\r
                 SVGElement,\r
                 SVGExternalResourcesRequired,\r
                 SVGStylable*/ {\r
@@ -6117,25 +6117,20 @@ function SVGFontElement() /*:
       }\r
     }, false);\r
   }, false);\r
-};\r
+} );\r
 \r
-function SVGGlyphElement() /*:\r
+base.$1.up("http://www.w3.org/2000/svgglyph"); /*:\r
                 SVGElement,\r
-                SVGStylable*/ {\r
-};\r
+                SVGStylable*/\r
 \r
-function SVGMissingGlyphElement() /*:\r
+base.$1.up("http://www.w3.org/2000/svgmissingGlyph"); /*:\r
                 SVGElement,\r
-                SVGStylable*/ {\r
-};\r
+                SVGStylable*/\r
 \r
-function SVGHKernElement() {\r
-};\r
+base.$1.up("http://www.w3.org/2000/svghkern");\r
+base.$1.up("http://www.w3.org/2000/svgkkern");\r
 \r
-function SVGVKernElement() {\r
-};\r
-\r
-function SVGFontFaceElement() {\r
+base.$1.up("http://www.w3.org/2000/svgfont-face").on("initialize", function () {\r
   /*boolean(or number)*/ this._isLinked = 0;\r
   this.addEventListener("DOMNodeInserted", function(evt){\r
     if (evt.eventPhase === /*Event.BUBBLING_PHASE*/ 3) {\r
@@ -6145,12 +6140,11 @@ function SVGFontFaceElement() {
       return; //強制終了させる\r
     }\r
   }, false);\r
-};\r
+} );\r
 \r
-function SVGFontFaceSrcElement() {\r
-};\r
+base.$1.up("http://www.w3.org/2000/svgfont-face-src");\r
 \r
-function SVGFontFaceUriElement() {\r
+base.$1.up("http://www.w3.org/2000/svgfont-face-uri").on("initialize", function () {\r
   this.addEventListener("DOMNodeInserted", function(evt){\r
     if (evt.eventPhase === /*Event.BUBBLING_PHASE*/ 3) {\r
       return; //強制終了させる\r
@@ -6168,16 +6162,13 @@ function SVGFontFaceUriElement() {
     evt = tar = tpp = void 0;\r
   }, false);\r
   SVGURIReference.apply(this);\r
-};\r
+} );\r
 \r
-function SVGFontFaceFormatElement() {\r
-};\r
+base.$1.up("http://www.w3.org/2000/svgfont-face-format");\r
 \r
-function SVGFontFaceNameElement() {\r
-};\r
+base.$1.up("http://www.w3.org/2000/svgfont-face-name");\r
 \r
-function SVGDefinitionSrcElement() {\r
-};\r
+base.$1.up("http://www.w3.org/2000/svgdefinitionSrc");\r
 \r
 function SVGForeignObjectElement(_doc) /*:\r
                 SVGElement,\r
@@ -6271,7 +6262,6 @@ function SVGForeignObjectElement(_doc) /*:
 \r
 //#endif  _SVG_IDL_\r
 base("DOMImplementation")["http://www.w3.org/2000/svg"] = {\r
-  stop:            SVGStopElement,\r
   rect:            SVGRectElement,\r
   circle:          SVGCircleElement,\r
   ellipse:         SVGEllipseElement,\r
@@ -6289,32 +6279,21 @@ base("DOMImplementation")["http://www.w3.org/2000/svg"] = {
   clipPath:        SVGClipPathElement,\r
   colorProfile:    SVGColorProfileElement,\r
   cursor:          SVGCursorElement,\r
-  definitionSrc:   SVGDefinitionSrcElement,\r
   feBlend:         SVGFEBlendElement,\r
   feGaussianBlur:  SVGFEGaussianBlurElement,\r
   filter:          SVGFilterElement,\r
-  font:            SVGFontElement,\r
-  "font-face":     SVGFontFaceElement,\r
-  "font-face-format":SVGFontFaceFormatElement,\r
-  "font-face-name":SVGFontFaceNameElement,\r
-  "font-face-src": SVGFontFaceSrcElement,\r
-  "font-face-uri": SVGFontFaceUriElement,\r
   foreignObject:   SVGForeignObjectElement,\r
-  glyph:           SVGGlyphElement,\r
-  hkern:           SVGHKernElement,\r
   marker:          SVGMarkerElement,\r
   mask:            SVGMaskElement,\r
-  missingGlyph:    SVGMissingGlyphElement,\r
   mpath:           SVGMPathElement,\r
   script:          SVGScriptElement,\r
-  set:             SVGSetElement,\r
+  "set":             SVGSetElement,\r
   style:           SVGStyleElement,\r
   "switch":        SVGSwitchElement,\r
   "symbol":        SVGSymbolElement,\r
   textPath:        SVGTextPathElement,\r
   tref:            SVGTRefElement,\r
   view:            SVGViewElement,\r
-  vkern:           SVGVKernElement,\r
   pattern:         SVGPatternElement\r
 };\r
 (function(){\r