layout/reftests/w3c-css/submitted/values3/calc-width-block-1-ref.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-width-block-1-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +  <title>CSS Reference: width: calc() and min-width: calc() on blocks</title>
     1.8 +  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
     1.9 +  <meta name="flags" content="">
    1.10 +<style type="text/css">
    1.11 +
    1.12 +body { width: 500px }
    1.13 +p { background: green; color: white; margin: 1px 0; font-size: 10px }
    1.14 +
    1.15 +</style>
    1.16 +</head>
    1.17 +<body>
    1.18 +
    1.19 +<p style="width: 247px">50% - 3px</p>
    1.20 +<p style="width: 247px">25% - 3px + 25%</p>
    1.21 +<p style="width: 247px">25% - 3px + 12.5% * 2</p>
    1.22 +<p style="width: 247px">25% - 3px + 12.5%*2</p>
    1.23 +<p style="width: 247px">25% - 3px + 2*12.5%</p>
    1.24 +<p style="width: 247px">25% - 3px + 2 * 12.5%</p>
    1.25 +<p style="width: 250px">30% + 20%</p>
    1.26 +</body>
    1.27 +</html>

mercurial