chromium/third_party/blink/web_tests/external/wpt/css/css-page/margin-boxes/dimensions-005-print-ref.html

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:[email protected]">
<meta name="flags" content="ahem">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
  html {
    font: 16px/1 Ahem;
  }
  @page {
    margin: 0;
    width: 32em;
    height: 27em;
  }
  body {
    display: grid;
    grid-template-columns: 6em auto 6em;
    grid-template-rows: 6em auto 6em;
    height: 100vh;
    margin: 0;
  }
  .vertical-edge {
    display: flex;
  }
  .horizontal-edge {
    display: flex;
    flex-flow: column;
  }
</style>
<div class="corner"></div>
<div class="vertical-edge">
  <div style="width:7.5em; margin-bottom:4em; background:hotpink;">xxx</div>
  <div style="width:5em; margin-top:2em; margin-bottom:2em; background:cyan;">xx</div>
  <div style="width:7.5em; margin-top:4em; background:yellow;">xx</div>
</div>
<div class="corner"></div>
<div class="horizontal-edge"></div>
<div></div>
<div class="horizontal-edge">
  <div style="height:5.625em; margin-right:4em; background:hotpink;">x<br>x<br>x</div>
  <div style="height:3.75em; margin-left:2em; margin-right:2em; background:cyan;">x<br>x</div>
  <div style="height:5.625em; margin-left:4em; background:yellow;">x<br>x</div>
</div>