<?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>147084</bug_id>
          
          <creation_ts>2015-07-18 23:00:18 -0700</creation_ts>
          <short_desc>outerHTML closes video/track element, unlike video/source element</short_desc>
          <delta_ts>2015-07-19 07:22:26 -0700</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>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.10</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <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>oliver</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric.carlson</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1110457</commentid>
    <comment_count>0</comment_count>
    <who name="">oliver</who>
    <bug_when>2015-07-18 23:00:18 -0700</bug_when>
    <thetext>Getting the outerHTML property of a track element returns a close tag:
  jQuery(&quot;&lt;track&gt;&quot;).get(0).outerHTML; // &quot;&lt;track&gt;&lt;/track&gt;&quot; in WebKit, &quot;&lt;track&gt;&quot; in Firefox

This is not the same as for the source element, which returns no closing tag:
  jQuery(&quot;&lt;video&gt;&lt;source&gt;&lt;track&gt;&lt;/video&gt;&quot;).get(0).outerHTML // &quot;&lt;video&gt;&lt;source&gt;&lt;track&gt;&lt;/track&gt;&lt;/video&gt;&quot; in WebKit</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>