tor-browser

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

shape-outside-margin-box-border-radius-007-ref.html (1607B)


      1 <!DOCTYPE html>
      2 <!-- Any copyright is dedicated to the Public Domain.
      3   - http://creativecommons.org/publicdomain/zero/1.0/ -->
      4 
      5 <html>
      6  <meta charset="utf-8">
      7  <title>CSS Shape Test: float left in rtl container, margin-box, border-top-right-radius reference</title>
      8  <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
      9  <link rel="author" title="Mozilla" href="http://www.mozilla.org/">
     10  <style>
     11  .bfc {
     12    position: absolute;
     13    width: 200px;
     14    line-height: 0;
     15    direction: ltr;
     16  }
     17 
     18  .container {
     19    direction: rtl;
     20    unicode-bidi: bidi-override;
     21  }
     22 
     23  .shape {
     24    float: left;
     25    /* Omit shape-outside: margin-box; */
     26    border-top-right-radius: 50%;
     27    box-sizing: content-box;
     28    height: 20px;
     29    width: 20px;
     30    padding: 20px;
     31    border: 20px solid lightgreen;
     32    margin: 10px;
     33    background-color: orange;
     34  }
     35 
     36  .box {
     37    position: absolute;
     38    width: 60px;
     39    background-color: blue;
     40  }
     41  </style>
     42 
     43  <body class="bfc">
     44    <span class="container">
     45      <div class="shape"></div>
     46    </span>
     47    <div class="box" style="height: 12px; top: 0px; left: 96px;"></div> <!-- Box at corner -->
     48    <div class="box" style="height: 12px; top: 12px; left: 108px;"></div> <!-- Box at corner -->
     49    <div class="box" style="height: 36px; top: 24px; left: 120px;"></div>
     50    <div class="box" style="height: 36px; top: 60px; left: 120px;"></div>
     51    <div class="box" style="height: 12px; top: 96px; left: 120px;"></div> <!-- Box at corner -->
     52    <div class="box" style="height: 12px; top: 108px; left: 120px;"></div> <!-- Box at corner -->
     53  </body>
     54 </html>