layout/reftests/css-calc/margin-block-1-ref.html
author L. David Baron <dbaron@dbaron.org>
Tue, 31 Aug 2010 12:05:12 -0400
changeset 51776 7bb992392d3ac38ff82766ea783f66eed0b091b1
child 52478 5ab6d6489a64cd54272943b4df0e64ceb34b3af6
permissions -rw-r--r--
Add support for calc() to the '{margin,padding}-{top,right,bottom,left}' and '-moz-margin-{start,end}' properties. (Bug 585715) r=bzbarsky a2.0=blocking:beta6+

<!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>