<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>166063</bug_id>
          
          <creation_ts>2016-12-20 08:33:23 -0800</creation_ts>
          <short_desc>Safari not rendering a form element after a template element with form</short_desc>
          <delta_ts>2016-12-21 13:56:31 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>Safari 10</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>158386</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alistair Chisholm">alistair</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1261388</commentid>
    <comment_count>0</comment_count>
    <who name="Alistair Chisholm">alistair</who>
    <bug_when>2016-12-20 08:33:23 -0800</bug_when>
    <thetext>A &lt;form&gt; element inside a &lt;template&gt; 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 &lt;form&gt; element is removed while the form&apos;s content is still visible. If you comment out the &lt;template&gt; element, the form displays correctly.

Demo: http://codepen.io/achisholm/pen/eBxjyX?editors=1100</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1262150</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2016-12-21 13:56:31 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 158386 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>