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

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     1 <!DOCTYPE HTML>
     2 <html>
     3 <head>
     4   <title>CSS Test: test for border-radius: calc()</title>
     5   <link rel="author" title="L. David Baron" href="http://dbaron.org/">
     6   <link rel="help" href="http://www.w3.org/TR/css3-values/#calc-notation">
     7   <meta name="flags" content="">
     8 <style type="text/css">
    10 p {
    11   /* We use powers of two here to avoid floating-point issues.
    12      See bug 590181. */
    14   height: 256px;
    15   width: 512px;
    16   background: blue;
    17   border-radius: calc((1/32 * 100%) + 5px)
    18                  calc((1/64 * 100%) - 2px)
    19                  calc(10px + (1/256 * 100%))
    20                  calc((1/16 * 100%) - 3px) /
    21                  calc((1/32 * 100%) - (1px + (1/128 * 100%)))
    22                  calc(1/16 * 100%)
    23                  calc(10px)
    24                  3px;
    25 }
    27 </style>
    28 </head>
    29 <body>
    30 <p></p>
    31 </body>
    32 </html>

mercurial