17 lines
652 B
HTML
17 lines
652 B
HTML
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="resources/default.css">
|
|
<script src="resources/text-based-repaint.js" type="text/javascript"></script>
|
|
<script type="text/javascript">
|
|
function repaintTest()
|
|
{
|
|
document.getElementById('container').style.position = 'static';
|
|
}
|
|
</script>
|
|
</head>
|
|
<body style="height:2000px;" onload="runRepaintTest()">
|
|
<!-- You should see 2 overlapping rectangles in the output: a green one (on top) and a blue one. -->
|
|
<div id="container" style="top: 5000px;" class="fixed blue"><div style="top:100px; left:100px;" class="absolute green"></div></div>
|
|
</body>
|
|
</html>
|