Thanks for the report! I can reproduce on trunk, but this works fine with the HTML5 parser <http://hsivonen.iki.fi/test-html5-parsing/>
Component: General → HTML: Parser
Depends on: 373864
Product: Firefox → Core
QA Contact: general → parser
Summary: Nested forms breaking table structure → Nested forms breaking table structure when created via innerHTML
Whiteboard: [fixed by the HTML5 parser]
Version: unspecified → Trunk
Presumably the HTML5 parser does fixups similar to those for normal parsing during innerHTML sets.... But note that the markup in this case is invalid and is NOT implemented interoperably in browsers in general. Simple cases will work. Complicated stuff will break in nasty ways (non-tree DOM in IE, that sort of thing). Don't do it.
Marking FIXED per comment 2.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.