tor-browser

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

float-right-and-float-details.html (1197B)


      1 <!DOCTYPE html>
      2 <!-- Any copyright is dedicated to the Public Domain.
      3   - http://creativecommons.org/publicdomain/zero/1.0/ -->
      4 
      5 <html>
      6  <style>
      7  body {
      8    width: 400px;
      9  }
     10  div#float {
     11    float: right;
     12    width: 200px;
     13    height: 200px;
     14    background-color: lightgreen;
     15  }
     16  details {
     17    float: right;
     18    background-color: orange;
     19  }
     20  summary {
     21    background-color: green;
     22    /* Hide the triangle for comparing with div in reftest. */
     23    list-style-type: none;
     24  }
     25  </style>
     26  <body>
     27    <!-- This tall float block is necessary to reproduce the incorrect height of the details. -->
     28    <div id="float"></div>
     29    <details>
     30      <summary>Summary</summary>
     31      Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
     32      tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
     33      veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
     34      commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
     35      velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
     36      cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
     37      est laborum.
     38    </details>
     39  </body>
     40 </html>