From 298ad8ef8ae1d604bf9272bb912d4b00aca16743 Mon Sep 17 00:00:00 2001 From: dhrname Date: Sat, 1 Nov 2014 21:23:56 +0900 Subject: [PATCH] =?utf8?q?SVGTitleElemenet=E3=82=92base=E9=96=A2=E6=95=B0?= =?utf8?q?=E3=81=A7=E8=A1=A8=E7=8F=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- org/w3c/dom/svg.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/org/w3c/dom/svg.js b/org/w3c/dom/svg.js index 031fc62..10dcf78 100644 --- a/org/w3c/dom/svg.js +++ b/org/w3c/dom/svg.js @@ -1570,11 +1570,11 @@ function SVGDefsElement() { function SVGDescElement() { } -function SVGTitleElement() { +base.$1.up("http://www.w3.org/2000/svgtitle").on("initialize", function () { this.addEventListener("DOMCharacterDataModified", function(evt){ evt.target.ownerDocument.title = evt.target.firstChild.nodeValue; }, false); -}; +} ); function SVGSymbolElement(_doc) { }; @@ -6273,7 +6273,6 @@ function SVGForeignObjectElement(_doc) /*: //#endif _SVG_IDL_ base("DOMImplementation")["http://www.w3.org/2000/svg"] = { - title: SVGTitleElement, desc: SVGDescElement, defs: SVGDefsElement, linearGradient: SVGLinearGradientElement, -- 2.11.0