title: Child inside parent with min-height: 100% not inheriting height
body: <p>I found a way to make a div container to occupy at least full height of a page, by setting <code>min-height: 100%;</code>. However, when I add a nested div and set <code>height: 100%;</code>, it doesn't stretch to container's height. Is there a way to fix it?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>html, body {
    height: 100%;
    margin: 0;
  }
  
  #containment {
    min-height: 100%;
    background: pink;
  }
  
  #containment-shadow-left {
    height: 100%;
    background: aqua;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="containment"&gt;
    &lt;div id="containment-shadow-left"&gt;
      Hello World!
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>