<div id="container">
<div id="top">
<ul>
<li>green box with variable height</li>
</ul>
</div>
<div id="bottom" data-calcattr="top,height,calc(100% - toppx)">
<ul>
<li>blue box with <code>height: 100%</code> overflows browser window and launches vertical scrollbar</li>
<li>we could remove scroll with <code>overflow: hidden</code> on <code>#container</code>, but that truncates bottom of this box</li>
<li>how could we set the height of this box to always fit perfectly inside the container?</li>
<li>in other words, the height should be <code>height: calc(100% - <<variable height of #top>></li>
</ul>
<br />
<div id="container-inner">
<div class="box left">w: 50px</div>
<div class="box middle">width of this box is variable</div>
<div class="box right" data-calcattr="left,width,calc(100% - leftpx)"> occupy remaining width</div>
</div>
</div>
</div>