blob: 84efaabb27620b8d59d15358e076c8f58bc6f030 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style type="text/css" media="screen">
.box {
display: inline-block;
height: 120px;
width: 300px;
margin: 10px;
border: 1px solid black;
background-repeat: no-repeat;
font-size: 12pt;
}
.em-units > .box {
background-image: -webkit-linear-gradient(left, yellow, yellow 5em, green 5em);
background-image: -moz-linear-gradient(left, yellow, yellow 5em, green 5em);
}
.indicator {
background-color: black;
height: 20px;
}
</style>
<script type="text/javascript">
if (window.testRunner)
testRunner.waitUntilDone();
function runTest()
{
document.getElementById("box4").style.fontSize = "36pt";
if (window.testRunner)
testRunner.notifyDone();
}
</script>
</head>
<body onload="setTimeout(runTest, 0);">
<div class="em-units">
<div id="box3" class="box"><div class="indicator" style="width: 5em;"></div></div>
<div id="box4" class="box"><div class="indicator" style="width: 5em;"></div></div>
</div>
</body>
</html>