<!DOCTYPE html>
<html>
  <meta charset="utf-8">
  <title>CSS Flexbox Reference: Test flex items containing table-layout:fixed with percentage width</title>
  <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
  <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
  <link rel="author" title="Mozilla" href="https://www.mozilla.org">

  <style>
  .container {
    display: flex;
    width: 300px;
    margin-bottom: 5px;
    border: 1px solid black;
    background: red;
  }
  .tbl {
    width: 100%;
    height: 30px;
    border: 1px solid blue;
    box-sizing: border-box;
    background: lightgray;
  }
  </style>

  <div class="container">
    <div class="tbl"></div>
  </div>

  <div class="container">
    <div class="tbl"></div>
    <div class="tbl"></div>
  </div>

  <div class="container">
    <div class="tbl"></div>
    <div class="tbl"></div>
    <div class="tbl"></div>
  </div>

  <div class="container">
    <div class="tbl"></div>
    <div class="tbl"></div>
    <div class="tbl"></div>
    <div class="tbl"></div>
  </div>

  <div class="container">
    <div class="tbl"></div>
    <div class="tbl"></div>
    <div class="tbl"></div>
    <div class="tbl"></div>
    <div class="tbl"></div>
  </div>

  <div class="container">
    <div class="tbl"></div>
    <div class="tbl"></div>
    <div class="tbl"></div>
    <div class="tbl"></div>
    <div class="tbl"></div>
    <div class="tbl"></div>
  </div>
</html>
