<html> | |
<head> | |
<script> | |
function doTest() { | |
document.getElementById("myDiv").style.width = "100px"; | |
document.documentElement.removeAttribute("class"); | |
} | |
</script> | |
</head> | |
<body onload="doTest()"> | |
<div id="myDiv" | |
style="width: 10px; | |
height: 100px; | |
background-image: url('resources/lime100x100.svg')"> | |
</div> | |
</body> | |
</html> |