tor-browser

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

border-radius-horizontal-value-is-zero.html (990B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4    <title>CSS Test Background: border-radius property if horizontal value is zero</title>
      5    <link rel="author" title="Marc Silverman" href="mailto:silverman@adobe.com">
      6    <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius">
      7    <link rel="match" href="reference/border-radius-horizontal-value-is-zero-ref.html">
      8    <meta name="assert" content="If the horizontal radius length is zero, the corner is square, not rounded.">
      9    <style type="text/css">
     10      #rounded-div {
     11  position: absolute;
     12  top: 50px;
     13  left: 5px;
     14  width: 13em;
     15  height: 8em;
     16  border: solid 1em green;
     17  border-radius: 0em / 5em
     18  }
     19  #error {
     20  position: absolute;
     21  top: 50px;
     22  left: 5px;
     23  width: 13em;
     24  height: 8em;
     25  border: solid 1em red;
     26  }
     27    </style>
     28 </head>
     29 <body>
     30    <p>The test passes if the rectangle has four square corners (no red is shown).</p>
     31    <div id="error">
     32    </div>
     33    <div id="rounded-div">
     34    </div>
     35 </body>
     36 </html>