﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
8119	HTML5 / Add support for source and track elements	Russ Tennant		"Currently if you use source and track elements they are converted from void elements to non void elements, duplicated, nested, and other interesting things :)

Starting in source view:

{{{
<video controls autoplay>
 <source src=""video.mp4"" type=""video/mp4"" >
 <source src=""video.ogv"" type=""video/ogg""
         onerror=""fallback(parentNode)"">
</video>
}}}

Toggle source view on and off:

{{{
<video autoplay="""" controls="""">
 <source src=""video.mp4"" type=""video/mp4""> 
 <source onerror=""fallback(parentNode)"" src=""video.ogv"" type=""video/ogg""> 
 </source></source>
</video>
}}}


Also, the video or source end tags are misplaced if there is content that follows. Follow

Before:


{{{
<video controls autoplay>
 <source src=""video.mp4"" type=""video/mp4"" >
 <source src=""video.ogv"" type=""video/ogg""
         onerror=""fallback(parentNode)"">
</video>
<div>Video Sibling</div>
}}}

After:


{{{
<video autoplay="""" controls="""">
  <source src=""video.mp4"" type=""video/mp4""> 
  <source onerror=""fallback(parentNode)"" src=""video.ogv"" type=""video/ogg""> 
  </source></source>
</video>
<p>
<source src=""video.mp4"" type=""video/mp4"">
<source onerror=""fallback(parentNode)"" src=""video.ogv"" type=""video/ogg"">
 <p>
 <source src=""video.mp4"" type=""video/mp4""> 
 <source onerror=""fallback(parentNode)"" src=""video.ogv"" type=""video/ogg"">
 </source></source>
 </p>
 <source src=""video.mp4"" type=""video/mp4"">
 <source onerror=""fallback(parentNode)"" src=""video.ogv"" type=""video/ogg"">
  <div>Video Sibling</div>
 <p>&nbsp;</p>
</source></source></source></source></p>
}}}



"	New Feature	closed	Normal		Core : DTD	3.0	worksforme	HTML5	
