tor-browser

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

shape-outside-ellipse-042.html (1394B)


      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 right, ellipse(0% 0%)</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  <link rel="help" href="https://drafts.csswg.org/css-shapes-1/#supported-basic-shapes">
     11  <link rel="match" href="reference/shape-outside-ellipse-042-ref.html">
     12  <meta name="assert" content="Test the right float shape defines an empty float area by the basic shape ellipse(0% 0%) value.">
     13  <style>
     14  .container {
     15    direction: rtl;
     16    width: 200px;
     17    line-height: 0;
     18  }
     19 
     20  .shape {
     21    float: right;
     22    shape-outside: ellipse(0% 0%);
     23    clip-path: ellipse(0% 0%);
     24    box-sizing: content-box;
     25    height: 40px;
     26    width: 40px;
     27    padding: 20px 10px;
     28    border: solid lightgreen;
     29    border-width: 20px 10px;
     30    background-color: orange;
     31  }
     32 
     33  .box {
     34    display: inline-block;
     35    width: 160px;
     36    background-color: blue;
     37  }
     38  </style>
     39 
     40  <main class="container">
     41    <div class="shape"></div>
     42    <div class="box" style="height: 24px;"></div>
     43    <div class="box" style="height: 36px;"></div>
     44    <div class="box" style="height: 36px;"></div>
     45    <div class="box" style="height: 24px;"></div>
     46  </main>
     47 </html>