gecko-dev/layout/reftests/css-calc/vertical-align-1.html

13 строки
519 B
HTML

<!DOCTYPE HTML>
<title>Test for vertical-align:calc()</title>
<div style="line-height: 100px; margin-top: 100px">
<span>x</span>
<span style="vertical-align: -moz-calc(50px)">x</span>
<span style="vertical-align: -moz-calc(50%)">x</span>
<span style="vertical-align: -moz-calc(25px + 50%)">x</span>
<span style="vertical-align: -moz-calc(150% / 2 - 30px)">x</span>
<span style="vertical-align: -moz-calc(40px + 10% - 20% / 2)">x</span>
<span style="vertical-align: -moz-calc(40px - 10%)">x</span>
</div>