From 6f0add22e77ade507a6752881f20a1e2a435990d Mon Sep 17 00:00:00 2001 From: dhrname Date: Sun, 13 Jan 2013 19:36:34 +0900 Subject: [PATCH] Remove from a SVGElementInstance interface --- org/w3c/dom/svg.js | 28 +++++----------------------- 1 file changed, 5 insertions(+), 23 deletions(-) diff --git a/org/w3c/dom/svg.js b/org/w3c/dom/svg.js index b794bfd..48737a8 100644 --- a/org/w3c/dom/svg.js +++ b/org/w3c/dom/svg.js @@ -1593,29 +1593,11 @@ function SVGUseElement() { }; SVGUseElement.prototype = Object._create(SVGElement); -function SVGElementInstance() { - /*EventTargetの代用として - *Nodeオブジェクトを継承させる - */ - Node.apply(this); - /*readonly SVGElement*/ this.correspondingElement; //use要素で使われる参照先の要素 - /*readonly SVGUseElement*/ this.correspondingUseElement; //参照先の要素にuse要素が含まれているとき、ここにuse要素を収納 - /*readonly SVGElementInstance*/ this.parentNode; - /*readonly SVGElementInstanceList*/ this.childNodes; - /*readonly SVGElementInstance*/ this.firstChild; - /*readonly SVGElementInstance*/ this.lastChild; - /*readonly SVGElementInstance*/ this.previousSibling; - /*readonly SVGElementInstance*/ this.nextSibling; -}; -SVGElementInstance.prototype = Object._create(Node); -/*SVGElementInstanceList - */ -function SVGElementInstanceList() { - /*readonly unsigned long*/ this.length = 0; -}; -/*SVGElementInstance*/ SVGElementInstanceList.prototype.item = function(/*unsigned long*/ index ) { - return (this[index]); -}; +/*function SVGElementInstance + *EventTargetの代用として + *Nodeオブジェクトを継承させる + *SVGElementInstanceList*/ + function SVGImageElement(_doc) { SVGElement.apply(this, arguments); this._tar = _doc.createElement("v:image"); -- 2.11.0