Bug 166063

Summary: Safari not rendering a form element after a template element with form
Product: WebKit Reporter: Alistair Chisholm <alistair>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: cdumez, rniwa
Priority: P2    
Version: Safari 10   
Hardware: All   
OS: All   

Description Alistair Chisholm 2016-12-20 08:33:23 PST
A <form> element inside a <template> element will cause the next form element to be removed from DOM in all latest versions of Safari.

As you can see in the demo, the <form> element is removed while the form's content is still visible. If you comment out the <template> element, the form displays correctly.

Demo: http://codepen.io/achisholm/pen/eBxjyX?editors=1100
Comment 1 Ryosuke Niwa 2016-12-21 13:56:31 PST

*** This bug has been marked as a duplicate of bug 158386 ***