tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

auto-margins-001-print.html (2692B)


      1 <!DOCTYPE html>
      2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
      3 <link rel="help" href="https://drafts.csswg.org/css-page-3/#margin-dimension">
      4 <meta name="assert" content="Test auto margins. Auto margins not adjacent to a page edge are treated as 0.">
      5 <link rel="match" href="auto-margins-001-print-ref.html">
      6 <style>
      7  @page {
      8    margin: 100px;
      9    size: 500px 400px;
     10    border: solid;
     11    @top-left-corner {
     12      border: solid;
     13      width: 25px;
     14      height: 25px;
     15      margin: auto;
     16      content: "";
     17    }
     18    @top-left {
     19      border: solid;
     20      width: 25px;
     21      height: 25px;
     22      margin: auto;
     23      content: "";
     24    }
     25    @top-center {
     26      border: solid;
     27      height: 25px;
     28      margin: auto;
     29      content: "";
     30    }
     31    @top-right {
     32      border: solid;
     33      width: 25px;
     34      height: 25px;
     35      margin: auto;
     36      content: "";
     37    }
     38    @top-right-corner {
     39      border: solid;
     40      width: 25px;
     41      height: 25px;
     42      margin: auto;
     43      content: "";
     44    }
     45    @right-top {
     46      border: solid;
     47      width: 25px;
     48      height: 25px;
     49      margin: auto;
     50      content: "";
     51    }
     52    @right-middle {
     53      border: solid;
     54      width: 25px;
     55      margin: auto;
     56      content: "";
     57    }
     58    @right-bottom {
     59      border: solid;
     60      width: 25px;
     61      height: 25px;
     62      margin: auto;
     63      content: "";
     64    }
     65    @bottom-right-corner {
     66      border: solid;
     67      width: 25px;
     68      height: 25px;
     69      margin: auto;
     70      content: "";
     71    }
     72    @bottom-right {
     73      border: solid;
     74      width: 25px;
     75      height: 25px;
     76      margin: auto;
     77      content: "";
     78    }
     79    @bottom-center {
     80      border: solid;
     81      width: 25px;
     82      height: 25px;
     83      margin: auto;
     84      content: "";
     85    }
     86    @bottom-left {
     87      border: solid;
     88      width: 25px;
     89      height: 25px;
     90      margin: auto;
     91      content: "";
     92    }
     93    @bottom-left-corner {
     94      border: solid;
     95      width: 25px;
     96      height: 25px;
     97      margin: auto;
     98      content: "";
     99    }
    100    @left-bottom {
    101      border: solid;
    102      width: 25px;
    103      height: 25px;
    104      margin: auto;
    105      content: "";
    106    }
    107    @left-middle {
    108      border: solid;
    109      width: 25px;
    110      height: 25px;
    111      margin: auto;
    112      content: "";
    113    }
    114    @left-top {
    115      border: solid;
    116      width: 25px;
    117      height: 25px;
    118      margin: auto;
    119      content: "";
    120    }
    121  }
    122 </style>
    123 
    124 There should be 16 margin boxes around this page area. They should all be
    125 squares, except for the center box at the top and the middle box on the right
    126 hand side, which should take up all available main-axis space. All 16 boxes
    127 should all be centered within their available cross-axis space.