gecko/layout/reftests/css-calc/margin-block-1-ref.html

16 lines
570 B
HTML

<!DOCTYPE HTML>
<title>Test of margin-*: calc()</title>
<style>
div { border: medium solid green; width: 500px }
p { background: yellow }
</style>
<div><p style="margin: 15px 0 0 0">paragraph with margin</p></div>
<div><p style="margin: 0 15px 0 0">paragraph with margin</p></div>
<div><p style="margin: 0 0 15px 0">paragraph with margin</p></div>
<div><p style="margin: 0 0 0 15px">paragraph with margin</p></div>
<div><p style="margin: 25px 25px 25px 25px">paragraph with margin</p></div>
<div><p style="margin: 15px 20px 20px 25px">paragraph with margin</p></div>