pjs/layout/reftests/css-calc/margin-block-1.html

15 строки
564 B
HTML

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