W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > April 2012

[Bug 16635] Setting innerHTML on an SVG element will parse into HTML elements. Since innerHTML is available on Element now, we should check if the context element is an SVG element (or MathML element) other than foreignObject (etc) and use the foreign lands insertion

From: <bugzilla@jessica.w3.org>
Date: Thu, 05 Apr 2012 12:55:59 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1SFmEJ-0003N4-Vw@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16635

--- Comment #6 from Simon Pieters <simonp@opera.com> 2012-04-05 12:55:59 UTC ---
(In reply to comment #4)
> <math math>.innerHTML = '<foo><b>x';
> | <math math>
> |   <math foo>
> | <b>
> |   "x"

Oops. I meant this:

<math math>.innerHTML = '<foo><b>x';
| <math math>
|   <math foo>
|   <b>
|     "x"

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 5 April 2012 12:56:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 5 April 2012 12:56:02 GMT