<!DOCTYPE html>
<html>
  <meta charset="utf-8">
  <title>CSS Overflow Reference: Intrinsic size of a "overflow:auto" vertical scroll container</title>
  <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
  <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">

  <style>
  .container {
    border: 1px solid black;
    width: 100px;
    display: inline-block;
  }
  </style>

  <div class="container" style="overflow-x: scroll;"></div>
  <div class="container" style="overflow-y: scroll;"></div>
  <div class="container" style="overflow-x: scroll;"></div>
  <div class="container" style="overflow-y: scroll;"></div>
</html>
