Now take into account attributes on the tt element
authorPhilippe Le Hégaret <plh@w3.org>
Wed, 22 Apr 2009 10:13:47 +0000
changeset 100 69cd790f1de3
parent 99 5e49c21ecda0
child 101 dcf31d971c44
Now take into account attributes on the tt element
testsuite/web-framework/HTML5_player.js
--- a/testsuite/web-framework/HTML5_player.js	Wed Apr 15 18:55:41 2009 +0000
+++ b/testsuite/web-framework/HTML5_player.js	Wed Apr 22 10:13:47 2009 +0000
@@ -784,10 +784,14 @@
     
     if (video.offsetTop) top = video.offsetTop;
     if (video.offsetLeft) left = video.offsetLeft;
+
     var mainDiv = HTML5Caption_convertDFXP2HTML(dfxpDocument.bodyElement, false, top, left);
 
     if (mainDiv == null) return;
 
+    HTML5Caption_convertDFXP2HTMLAttributes(dfxpDocument.documentElement, mainDiv, false, 0, 0);
+    
+
     var w = video.getAttribute("width");
     if (w!="") {
 	// the main container gets the size of the video