tor-browser

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

multicol-span-all-list-item-002.html (1509B)


      1 <!DOCTYPE html>
      2 <html>
      3  <meta charset="utf-8">
      4  <title>CSS Multi-column Layout Test: columns with list-item, column-span, and overflow</title>
      5  <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
      6  <link rel="author" title="Mozilla" href="http://www.mozilla.org/">
      7  <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span">
      8  <link rel="match" href="multicol-span-all-list-item-002-ref.html">
      9  <meta name="assert" content="This test checks the columns with list-item are renederd correctly.">
     10 
     11  <style>
     12  li {
     13    column-count: 1;
     14    width: 300px;
     15    outline: 1px solid black;
     16    margin-bottom: 1em;
     17    overflow: hidden;
     18  }
     19  h3 {
     20    column-span: all;
     21    outline: 1px solid blue;
     22    margin: 0;
     23  }
     24  </style>
     25 
     26  <body>
     27    <ul>
     28      <li style="list-style-position: outside;">
     29        bullet outside
     30        <h3>spanner</h3>
     31      </li>
     32      <li style="list-style-position: inside;">
     33        bullet inside
     34        <h3>spanner</h3>
     35      </li>
     36      <li style="list-style-position: outside;">
     37        <h3>spanner (bullet outside)</h3>
     38      </li>
     39      <li style="list-style-position: inside;">
     40        <h3>spanner (bullet inside)</h3>
     41      </li>
     42      <li style="list-style-position: outside;">
     43        <div>
     44          <h3>nested spanner (bullet outside)</h3>
     45        </div>
     46      </li>
     47      <li style="list-style-position: inside;">
     48        <div>
     49          <h3>nested spanner (bullet inside)</h3>
     50        </div>
     51      </li>
     52    </ul>
     53  </body>
     54 </html>