[Bug 11204] innerHTML on MathML elements

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 UTC