W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2010

[Bug 11204] innerHTML on MathML elements

From: <bugzilla@jessica.w3.org>
Date: Wed, 03 Nov 2010 14:18:40 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PDeAi-00045p-7H@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11204

--- Comment #6 from Boris Zbarsky <bzbarsky@mit.edu> 2010-11-03 14:18:39 UTC ---
> getElementById for example returns any element

Any element with that ID.  HTML, MathML, SVG all define an "id" attribute of
type ID.  Elements in other namespaces do not, and would not be returned by
getElementById just because they have an attribute named "id".

Michael, you're right.  But the reason this happens is pretty simple.  There
are more DOM consumers than just HTML.  So HTML can't unilaterally dictate what
all DOM consumers must do.  In particular, taken at face value this bug
requires that all DOM processors implement .innerHTML on any DOM nodes they
support.  That's a core DOM change that needs to be figured out in a wider
context, and with more input, than just HTML.

-- 
Configure bugmail: http://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 Wednesday, 3 November 2010 14:18:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 November 2010 14:18:42 GMT