blob: b4c933e8d8021ed357d9942d2f44b7cd44abbf76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<!DOCTYPE html>
<title>Auto-positioned abspos after text, before float</title>
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#abs-non-replaced-width" title="10.3.7 Absolutely positioned, non-replaced elements">
<link rel="match" href="../../reference/ref-filled-green-200px-square.html">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="line-height:20px; margin-top:-20px;">
<div style="position:absolute; width:200px; height:200px; background:green;"></div>
<div style="float:left; margin-top:20px; width:200px; height:200px; background:red;"></div>
</div>
|