blob: b145482440ea820d02bf4055d320da3a300a3381 [file] [log] [blame]
<!DOCTYPE html>
<style>
.green {
display: inline-block;
background: green;
width: 50%;
}
.yellow {
background: yellow;
width: 50%;
float: right;
}
</style>
<p>Test passes if yellow block is alongside green block, not in next line.</p>
<div>
<div class='green'>
<h1>Inline block<h1>
</div>
<div class='yellow'>
<h1>Floating block</h1>
</div>
</div>