5 .block { display: block; background: green; }
6 .inline { display: inline; margin-left:
40px; font:
30px/
1 Ahem;}
7 span { width:
50%; background: white; }
8 .absolute { position: absolute; }
9 .float { float: left; }
11 <script src=
"../../resources/check-layout.js"></script>
14 <p> https://bugs.webkit.org/show_bug.cgi?id=
95772: There should be six green bars below with a PASS in each.
</p>
16 <div class=
"inline" data-expected-height=
"30"> <span class=
"absolute"></span> <span class=
"absolute"></span> </div>
19 <div class=
"inline" data-expected-height=
"30"><span class=
"absolute"></span><span class=
"absolute"></span></div>
22 <div class=
"inline" data-expected-height=
"30"><span class=
"float"></span><span class=
"float"></span></div>
25 <div class=
"inline" data-expected-height=
"30"> <span class=
"float"></span> <span class=
"float"></span></div>
28 <div class=
"inline" data-expected-height=
"30"><span></span><span></span></div>
31 <div class=
"inline" data-expected-height=
"30"> <span></span> <span></span></div>
34 checkLayout('body > div > div')