[cgiowt] (3) Parser change: Handle fragment case for non-HTML nodes. This _should_ have no effect on any other case, so please do let me know if this breaks any tests!
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17924
Affected topics: HTML Syntax and Parsing

git-svn-id: http://svn.whatwg.org/webapps@7768 340c8d12-0b0e-0410-8428-c7bf67bfef74
(cherry picked from commit 6f99c7299bcd5b19921ccd39c188c3686cb7e987)

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.
Towards resolving W3C bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=16635