25 lines
688 B
HTML
25 lines
688 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style type="text/css" media="screen">
|
|
div#container {
|
|
padding: 15px;
|
|
box-shadow: inset cyan 0 -60px 0 0;
|
|
}
|
|
</style>
|
|
<script type="text/javascript">
|
|
if (window.testRunner)
|
|
testRunner.waitUntilDone();
|
|
function runTest()
|
|
{
|
|
document.getElementById('container').innerHTML = "<div style='width:100px; height:100px; background-color:green'></div>";
|
|
if (window.testRunner)
|
|
testRunner.notifyDone();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="setTimeout(runTest, 0)">
|
|
<div id="container" style="width:200px;"></div>
|
|
</body>
|
|
</html>
|