tor-browser

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

webkit-box-anon-flex-items-1-ref.html (2653B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4  <title>
      5    Reference Case
      6  </title>
      7  <style>
      8  .container {
      9    display: flex;
     10    justify-content: space-between;
     11    width: 300px;
     12    border: 1px solid black;
     13    font: 10px sans-serif;
     14    margin-bottom: 10px;
     15  }
     16  .container > * {
     17    background: lightgray;
     18  }
     19 
     20  .fakeAnonWrapper {
     21    background: none;
     22  }
     23  .fakeAnonWrapper > * {
     24    background: lightgray;
     25  }
     26  .table {
     27    display: table;
     28  }
     29  </style>
     30 </head>
     31 <body>
     32 <!-- We use an explicit div (with class "fakeAnonWrapper") here, to match the
     33     anonymous div that the testcase is expected to generate around contiguous
     34     runs of inline content. -->
     35 <div class="container">
     36  <div class="fakeAnonWrapper">
     37    a
     38    <i>i</i><img src="bogus"><img src="bogus" alt="alt">
     39    <canvas height="5" width="5"></canvas>
     40    <video height="5" width="5"></video>
     41    <div style="display:inline-block">ib</div>
     42    <div style="display:inline-table">it</div>
     43    z
     44  </div>
     45  <div>block</div>
     46  <div>block</div>
     47 </div>
     48 
     49 <div class="container">
     50  <div>block</div>
     51  <div class="fakeAnonWrapper">
     52    a
     53    <i>i</i><img src="bogus"><img src="bogus" alt="alt">
     54    <canvas height="5" width="5"></canvas>
     55    <video height="5" width="5"></video>
     56    <div style="display:inline-block">ib</div>
     57    <div style="display:inline-table">it</div>
     58    z
     59  </div>
     60  <div>block</div>
     61 </div>
     62 
     63 <div class="container">
     64  <div>block</div>
     65  <div>block</div>
     66  <div class="fakeAnonWrapper">
     67    a
     68    <i>i</i><img src="bogus"><img src="bogus" alt="alt">
     69    <canvas height="5" width="5"></canvas>
     70    <video height="5" width="5"></video>
     71    <div style="display:inline-block">ib</div>
     72    <div style="display:inline-table">it</div>
     73    z
     74  </div>
     75 </div>
     76 
     77 <!-- We use explicit divs here for each anonymous wrapper-box that the testcase
     78     is expected to produce (with class "fakeAnonWrapper", and also "table" if
     79     it's expected to be a table wrapper)  -->
     80 <div class="container">
     81  <div class="fakeAnonWrapper">a</div>
     82  <div class="fakeAnonWrapper table">
     83    <div style="display: table-cell">tc</div>
     84    <div style="display: table-cell">tc</div>
     85  </div>
     86  <div class="fakeAnonWrapper">b</div>
     87  <div class="fakeAnonWrapper table">
     88    <div style="display: table-row">tr</div>
     89    <div style="display: table-cell">tc</div>
     90  </div>
     91  <div class="fakeAnonWrapper">c</div>
     92  <div class="fakeAnonWrapper table">
     93    <div style="display: table-row">tr</div>
     94    <div style="display: table-row-group">trg</div>
     95  </div>
     96  <div class="fakeAnonWrapper">d</div>
     97  <table><tbody><tr><td>t</td></tr></tbody></table>
     98  <div class="fakeAnonWrapper">e</div>
     99 </div>
    100 </body>
    101 </html>