tor-browser

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

contain-size-select-elem-004.html (961B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4  <meta charset="utf-8">
      5  <title>CSS Test: 'contain: size' on select objects should cause them to be sized as if they have no contents.</title>
      6  <link rel="author" title="Morgan Rae Reschenberg" href="mailto:mreschenberg@berkeley.edu">
      7  <link rel="help" href="https://drafts.csswg.org/css-contain/#containment-size">
      8  <link rel="match" href="contain-size-select-elem-004-ref.html">
      9  <style>
     10  select {
     11    contain: size;
     12    color: transparent;
     13  }
     14  .floatLBasic {
     15    float: left;
     16  }
     17  </style>
     18 </head>
     19 <body>
     20  <select multiple>
     21    <option>CSS Test: A size-contained select with no specified size should size itself as if it had no contents.</option>
     22    <option>aaaaaa</option>
     23  </select>
     24  <br>
     25 
     26  <select multiple class="floatLBasic">
     27    <option>CSS Test: A size-contained floated select with no specified size should size itself as if it had no contents.</option>
     28    <option>a</option>
     29  </select>
     30 </body>
     31 </html>