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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial