Wed, 31 Dec 2014 07:22:50 +0100
Correct previous dual key logic pending first delivery installment.
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <title>CSS Test: intrinsic width of min-width: calc() on blocks</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 body { font-size: 10px }
11 body > div { float: left; clear: left;
12 margin: 0 0 1px 0; background: blue; color: white; height: 5px }
13 body > div > div { width: 1px }
14 body > div > div > div { width: 200px }
16 </style>
17 </head>
18 <body>
20 <div><div style="min-width: calc(50% - 3px)"><div></div></div></div>
21 <div><div style="min-width: calc(5em - 3px)"><div></div></div></div>
22 <div><div style="min-width: calc(5em - 0%)"><div></div></div></div>
23 <div><div style="min-width: calc(50%)"><div></div></div></div>
24 <div><div style="min-width: calc(50px)"><div></div></div></div>
25 <div><div style="min-width: calc(25% + 25%)"><div></div></div></div>
26 </body>
27 </html>