Summary: [HTML5] Parser does not return to SVG mode after encountering foreignObject with html and body tags → [HTML5] Parser does not return to SVG namespace after encountering foreignObject with html and body tags
Thanks for building that test case, I now understand better what is meant by "smallest possible test case." That is more minimalist that I normally conceive of a page being and illustrates exactly the problem. The test case renders correctly in FireFox 3.6.3 on Xubuntu 10.04 and 3.6.6 on Windows XP with html5.enable set to true. The test case does not render correctly in Mozilla Developer Preview 3.7 alpha 5 nor in FireFox 4 beta 1 on Windows XP. Gecko 1.9.2 renders the page correctly, Gecko 1.9.3 does not. For what it might be worth, a far less minimalist page which includes thumbnail images of the page correctly rendered and incorrectly rendered is available at: http://www.comfsm.fm/~dleeling/tech/foreignObject.html at least when the power is on here on the island of Pohnpei. In a parallel vein, the foreignObject.html web page does not validate at validator.nu, failing at the html element in the foreignObject at line 42 (stray html start tag). If the html chunk inside the foreignObject is deleted, then the page validates. The same foreignObject with the html code chunk validates when submitted as part of a valid xhtml5 document with namespaces.
Fixed by check in for bug 579867 (that bug includes a reftest too).
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b4
You need to log in before you can comment on or make changes to this bug.