<!DOCTYPE html>
<p>Test that using percentage margins on spanners works.</p>
<p>Below there should be a blue square centered inside a yellow square.</p>
<div style="overflow:hidden; width:10em; height:10em; background:yellow;">
<div style="margin:3em; height:4em; background:blue;"></div>
</div>