tor-browser

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

shape-outside-ellipse-041.html (1503B)


      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, ellipse(closest-side closest-side at top left)</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-040-ref.html">
     12  <meta name="assert" content="Test the left float shape defines an empty float area by the basic shape ellipse(0% 0closest-side closest-side at top left) value.">
     13  <style>
     14  .container {
     15    width: 200px;
     16    line-height: 0;
     17  }
     18 
     19  .shape {
     20    float: left;
     21    shape-outside: ellipse(closest-side closest-side at top left);
     22    clip-path: ellipse(closest-side closest-side at top left);
     23    box-sizing: content-box;
     24    height: 40px;
     25    width: 40px;
     26    padding: 20px 10px;
     27    border: solid lightgreen;
     28    border-width: 20px 10px;
     29    background-color: orange;
     30  }
     31 
     32  .box {
     33    display: inline-block;
     34    width: 160px;
     35    background-color: blue;
     36  }
     37  </style>
     38 
     39  <main class="container">
     40    <div class="shape"></div>
     41    <div class="box" style="height: 24px;"></div>
     42    <div class="box" style="height: 36px;"></div>
     43    <div class="box" style="height: 36px;"></div>
     44    <div class="box" style="height: 24px;"></div>
     45  </main>
     46 </html>