s/scroll/dynamic/ for overflow
authorPhilippe Le Hégaret <plh@w3.org>
Sun, 07 Jun 2009 21:39:29 +0000
changeset 147 a346b9e2d727
parent 146 435204e6612d
child 148 3f60217e7943
s/scroll/dynamic/ for overflow
testsuite/web-framework/HTML5_player.js
--- a/testsuite/web-framework/HTML5_player.js	Sat Jun 06 01:00:05 2009 +0000
+++ b/testsuite/web-framework/HTML5_player.js	Sun Jun 07 21:39:29 2009 +0000
@@ -266,7 +266,11 @@
     }
     v = dfxpElement.getAttributeNS(DFXP_NS_Style, "overflow");
     if (v != "") {
-	htmlElement.style.setProperty("overflow", v, "");
+	if (v == "dynamic") {	    
+	    htmlElement.style.setProperty("overflow", "scroll", "");
+	} else {
+	    htmlElement.style.setProperty("overflow", v, "");
+	}
     }
     v = dfxpElement.getAttributeNS(DFXP_NS_Style, "extent");
     if (v != "") {