Bug 166063 - Safari not rendering a form element after a template element with form
Summary: Safari not rendering a form element after a template element with form
Status: RESOLVED DUPLICATE of bug 158386
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari 10
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-20 08:33 PST by Alistair Chisholm
Modified: 2016-12-21 13:56 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***