If your using <form> in a <template>, every following <form> will be eaten up and only contains will be rendered. See http://jsbin.com/buwuteripu/edit?html,output for a demo. (First reported here: https://www.reddit.com/r/webdev/comments/3qid2h/psa_safari_9_eats_some_tags_after_templates_are/)
(In reply to comment #0) > If your using <form> in a <template>, every following <form> will be eaten > up and only contains will be rendered. > > See http://jsbin.com/buwuteripu/edit?html,output for a demo. > > (First reported here: > https://www.reddit.com/r/webdev/comments/3qid2h/ > psa_safari_9_eats_some_tags_after_templates_are/) It seems to only eat the following form. Not every following form. See http://jsbin.com/razakunaca/edit?html,output for a (updated) demo.
Confirmed, Same goes for TP. just recently registerd to report this issue. But i found this. thanks maxime for the suggestion, going to put a empty form right before my following form so it can eat the first one instead
Looks like an HTML parser bug.
Created attachment 303467 [details] WIP Patch From spec: Insert an HTML element for the token, and, if there is no template element on the stack of open elements, set the form element pointer to point to the element created. It looks like we were setting the form element pointer even when there was a template element on the stack of open elements.
Created attachment 303474 [details] Patch
Comment on attachment 303474 [details] Patch Seems like a good testcase to contribute back.
Comment on attachment 303474 [details] Patch Clearing flags on attachment: 303474 Committed r213438: <http://trac.webkit.org/changeset/213438>
All reviewed patches have been landed. Closing bug.