tor-browser

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

border-radius-009.xht (1652B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3     <head>
      4         <title>CSS Test: Borders. border&ndash;radius using &quot;inherit&quot;</title>
      5         <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      6         <link rel="author" title="Nokia" href="http://www.nokia.com/"/>
      7         <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius" />
      8         <link rel="match" href="border-radius-009-ref.xht" />
      9         <meta name="assert" content="To verify inherit feature works, when it is assigned to border-radius" />
     10         <style>
     11             body {
     12                 border-radius: 20% 25px;
     13             }
     14             div {
     15                 border: 2px solid #a1a1a1;
     16                 background: #dddddd;
     17                 width: 200px;
     18                 height: 100px;
     19                 border-radius: inherit;
     20             }
     21             #reference {
     22                 border-top-left-radius: 20%;
     23                 border-top-right-radius: 25px;
     24                 border-bottom-right-radius: 20%;
     25                 border-bottom-left-radius: 25px;
     26             }
     27         </style>
     28     </head>
     29     <body>
     30         <p>There should be two identical boxes, each with 4 rounded corners.</p>
     31         <ul>
     32             <li>PASS if the two boxes below are the same and all 4 corners are rounded.</li>
     33             <li>FAIL if the output is not as expected.</li>
     34         </ul>
     35 
     36         <!-- PLACE TEST CONTENT FROM HERE -->
     37         <div id="test"></div>
     38         <p><br/></p>
     39         <div id="reference"></div>
     40     </body>
     41 </html>