[Webkit-unassigned] [Bug 135698] SVGElement has no innerHTML property

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 7 06:33:19 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=135698





--- Comment #5 from Dirk Schulze <krit at webkit.org>  2014-08-07 06:33:30 PST ---
(In reply to comment #4)
> > I was asking for Blink and Firefox. Does it work for all elements there, or just on the root <svg> element in HTML? (Beside all HTMLElements of course.)
> 
> Yes, it works on every svg element on chrome and firefox

Ok. So they probably moved innerHTML on Element or added it to SVGElement. I assume innerHTML = "<rect>" still gives you an HTMLUnknownElement/HTMLElement on Blink and Firefox?


> (because all SVG elements inherit from SVGElement).

Hehe, SVG elements always inherit from SVGElement and always did. The problem is/was that innerHTML is just defined for HTMLElement.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list