layout/reftests/w3c-css/submitted/values3/calc-border-radius-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/w3c-css/submitted/values3/calc-border-radius-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +  <title>CSS Test: test for border-radius: calc()</title>
     1.8 +  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
     1.9 +  <link rel="help" href="http://www.w3.org/TR/css3-values/#calc-notation">
    1.10 +  <meta name="flags" content="">
    1.11 +<style type="text/css">
    1.12 +
    1.13 +p {
    1.14 +  /* We use powers of two here to avoid floating-point issues.
    1.15 +     See bug 590181. */
    1.16 +
    1.17 +  height: 256px;
    1.18 +  width: 512px;
    1.19 +  background: blue;
    1.20 +  border-radius: calc((1/32 * 100%) + 5px)
    1.21 +                 calc((1/64 * 100%) - 2px)
    1.22 +                 calc(10px + (1/256 * 100%))
    1.23 +                 calc((1/16 * 100%) - 3px) /
    1.24 +                 calc((1/32 * 100%) - (1px + (1/128 * 100%)))
    1.25 +                 calc(1/16 * 100%)
    1.26 +                 calc(10px)
    1.27 +                 3px;
    1.28 +}
    1.29 +
    1.30 +</style>
    1.31 +</head>
    1.32 +<body>
    1.33 +<p></p>
    1.34 +</body>
    1.35 +</html>

mercurial