2010-09-09 08:21:45 -07:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<title>test for border-radius: calc()</title>
|
|
|
|
<style>
|
|
|
|
|
|
|
|
p {
|
2011-04-28 06:48:59 -07:00
|
|
|
/* We use powers of two here to avoid floating-point issues.
|
|
|
|
See bug 590181. */
|
|
|
|
|
|
|
|
height: 256px;
|
|
|
|
width: 512px;
|
2010-09-09 08:21:45 -07:00
|
|
|
background: blue;
|
2011-04-28 06:48:59 -07:00
|
|
|
border-radius: -moz-calc((1/32 * 100%) + 5px)
|
|
|
|
-moz-calc((1/64 * 100%) - 2px)
|
|
|
|
-moz-calc(10px + (1/256 * 100%))
|
|
|
|
-moz-calc((1/16 * 100%) - 3px) /
|
|
|
|
-moz-calc((1/32 * 100%) - (1px + (1/128 * 100%)))
|
|
|
|
-moz-calc(1/16 * 100%)
|
|
|
|
-moz-calc(10px)
|
|
|
|
3px;
|
2010-09-09 08:21:45 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
<p></p>
|