forked from burg/timelapse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
inline-with-empty-inline-children.html
37 lines (37 loc) · 1.33 KB
/
inline-with-empty-inline-children.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html>
<head>
<style>
.block { display: block; background: green; }
.inline { display: inline; margin-left: 40px; font: 30px/1 Ahem;}
span { width: 50%; background: white; }
.absolute { position: absolute; }
.float { float: left; }
</style>
<script src="../../resources/check-layout.js"></script>
</head>
<body>
<p> https://bugs.webkit.org/show_bug.cgi?id=95772: There should be six green bars below with a PASS in each. </p>
<div class="block">
<div class="inline" data-expected-height="30"> <span class="absolute"></span> <span class="absolute"></span> </div>
</div>
<div class="block">
<div class="inline" data-expected-height="30"><span class="absolute"></span><span class="absolute"></span></div>
</div>
<div class="block">
<div class="inline" data-expected-height="30"><span class="float"></span><span class="float"></span></div>
</div>
<div class="block">
<div class="inline" data-expected-height="30"> <span class="float"></span> <span class="float"></span></div>
</div>
<div class="block">
<div class="inline" data-expected-height="30"><span></span><span></span></div>
</div>
<div class="block">
<div class="inline" data-expected-height="30"> <span></span> <span></span></div>
</div>
<script>
checkLayout('body > div > div')
</script>
</body>
</html>