<!DOCTYPE html>
<style>
.emptyBox {
display: inline-block;
width: 50px;
height: 50px;
}
</style>
<p>Test passes if a text below is aligned.</p>
<div>
<div class="emptyBox"></div>
<span>This text should be on the same line.</span>
</div>
<!DOCTYPE html>
<style>
.emptyBox {
display: inline-block;
width: 50px;
height: 50px;
}
</style>
<p>Test passes if a text below is aligned.</p>
<div>
<div class="emptyBox"></div>
<span>This text should be on the same line.</span>
</div>