Thu, 15 Jan 2015 21:13:52 +0100
Remove forgotten relic of ABI crash risk averse overloaded method change.
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> |