tor-browser

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

select-4-option-optgroup-display-none-ref.html (994B)


      1 <!DOCTYPE HTML>
      2 <!--
      3     Any copyright is dedicated to the Public Domain.
      4     http://creativecommons.org/publicdomain/zero/1.0/
      5 -->
      6 <html><head>
      7  <meta charset="utf-8">
      8  <title>Reference: display:none on OPTION and OPTGROUP</title>
      9  <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
     10  <style>
     11 
     12 .none { display:none; }
     13 .contents { display:contents; }
     14 .red { color: red; }
     15 .green { color: green; }
     16 
     17 select { -webkit-appearance: none; }
     18 
     19  </style>
     20 </head>
     21 <body>
     22 
     23 <pre>FAIL if there is any red color</pre>
     24 
     25 <optgroup></optgroup>
     26 <optgroup class="contents red"></optgroup>
     27 <optgroup class="contents green" label="optgroup"></optgroup>
     28 
     29 <br>
     30 
     31 <select class="red" size="4"></select>
     32 <select size="4" class="red"></select>
     33 <select size="4" class="red"></select>
     34 <select size="4" class="red"><optgroup></select>
     35 <select size="4"></select>
     36 <select size="4" class="red"></select>
     37 <select size="4" class="red"></select>
     38 <select size="4" class="red"></select>
     39 
     40 </body>
     41 </html>