blob: 646afe4a9264b703b923ae607dfa36e3b4fce52c [file] [log] [blame]
<html>
<head>
<style>
body { width: 400px;}
.container { width: 100px; height: 150px; position: relative;}
div { background: white; }
.reference { position: absolute; width: 20px; height: 20px; background: black; }
.first { left: 10px; }
.second { left: 40px; top: 20px; }
</style>
</head>
<body>
<!-- In quirks mode, images have their descent remove so that they squeeze together across line breaks.
Ensure the images find the correct offset for their line when avoiding floats. -->
There should be no red visible below.
<div class="container">
<!-- This should cover the first image. -->
<div class="reference first"></div>
<!-- This should cover the second image. -->
<div class="reference second"></div>
</div>
</body></html>