layout/reftests/w3c-css/submitted/values3/calc-min-width-block-intrinsic-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-min-width-block-intrinsic-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +  <title>CSS Test: intrinsic width of min-width: calc() on blocks</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 +body { font-size: 10px }
    1.14 +body > div { float: left; clear: left;
    1.15 +             margin: 0 0 1px 0; background: blue; color: white; height: 5px }
    1.16 +body > div > div { width: 1px }
    1.17 +body > div > div > div { width: 200px }
    1.18 +
    1.19 +</style>
    1.20 +</head>
    1.21 +<body>
    1.22 +
    1.23 +<div><div style="min-width: calc(50% - 3px)"><div></div></div></div>
    1.24 +<div><div style="min-width: calc(5em - 3px)"><div></div></div></div>
    1.25 +<div><div style="min-width: calc(5em - 0%)"><div></div></div></div>
    1.26 +<div><div style="min-width: calc(50%)"><div></div></div></div>
    1.27 +<div><div style="min-width: calc(50px)"><div></div></div></div>
    1.28 +<div><div style="min-width: calc(25% + 25%)"><div></div></div></div>
    1.29 +</body>
    1.30 +</html>

mercurial