--- 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