[giow] (3) Try to clean up the incumbent script situation.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=18242
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@8114 340c8d12-0b0e-0410-8428-c7bf67bfef74
[giow] (3) Make <form><template><input> not result in the <input> being in the <form>.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22400
Affected topics: HTML Syntax and Parsing

git-svn-id: http://svn.whatwg.org/webapps@8115 340c8d12-0b0e-0410-8428-c7bf67bfef74
[e] (0) Move some steps around to allow for some refactoring in the parser (this diff should have no effect on normative requirements in practice)
Affected topics: HTML Syntax and Parsing

git-svn-id: http://svn.whatwg.org/webapps@8116 340c8d12-0b0e-0410-8428-c7bf67bfef74
[e] (0) Factor out 'insert an HTML element' and 'insert a foreign element', since they're now the same.
Affected topics: HTML Syntax and Parsing

git-svn-id: http://svn.whatwg.org/webapps@8117 340c8d12-0b0e-0410-8428-c7bf67bfef74