blob: e741d0635d35b055b72793fc5ce64b631840aeb6 [file] [log] [blame]
robert@webkit.org8cbab142011-12-30 20:58:29 +00001<!DOCTYPE html>
2<style>
3 body {
4 height: 200%;
5 }
6 div {
7 width: 400px;
8 height: 25px;
9 background-color: silver;
10 text-align: center;
11 margin: 8px 0;
12 }
13
14 #float {
15 float: left;
16 width: 25px;
17 height: 25px;
18 background-color: rgba(0, 0, 255, 0.5);
19 }
20 #absolute {
21 position: absolute;
22 width: 25px;
23 height: 25px;
24 background-color: rgba(0, 0, 255, 0.5);
25 }
26</style>
27<div>&#x200b;<span id="absolute"></span>Lorem ipsum dolor sit amet</div>
28<div>&#x200b;<span id="absolute"></span>Lorem ipsum dolor sit amet</div>
29<div>&#x200b;<span id="absolute"></span>Lorem ipsum<span id="absolute"></span> dolor sit amet</div>
30<div>&#x200b;<span id="absolute"></span><span id="absolute"></span>Lorem ipsum dolor sit amet</div>
31<div>&#x200b;<span id="absolute"></span><span id="absolute"></span>Lorem ipsum dolor sit amet</div>
32<div>&#x200b;<span id="absolute"></span>Lorem ipsum dolor sit amet</div>
33<div>&#x200b;<span id="absolute"></span>Lorem ipsum dolor sit amet</div>
34<div>&#x200b;<span id="float"></span>Lorem ipsum dolor sit amet</div>
35<div>&#x200b;<span id="absolute"></span>Lorem ipsum<span id="absolute"></span> dolor sit amet</div>
36<div>&#x200b;<span id="absolute"></span><span id="float"></span>Lorem ipsum dolor sit amet</div>
37<div>&#x200b;<span id="float"></span><span id="absolute"></span>Lorem ipsum dolor sit amet</div>
38<div>&#x200b;<span id="absolute"></span><span id="float"></span>Lorem ipsum dolor sit amet</div>