tor-browser

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

border-width-013.xht (1086B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4 
      5  <head>
      6 
      7   <title>CSS Test: Border-width - length specified with a percentage unit</title>
      8 
      9   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
     10   <link rel="help" title="Section 8.5.1 Border width" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
     11   <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
     12 
     13   <meta content="invalid" name="flags" />
     14   <meta content="A length value specified with a percentage unit does not apply to 'border-width'." name="assert" />
     15 
     16   <style type="text/css"><![CDATA[
     17   #parent
     18   {
     19   height: 300px;
     20   width: 400px;
     21   }
     22 
     23   #child
     24   {
     25   border-color: red;
     26   border-style: solid;
     27   border-width: 0px;
     28   border-width: 8%;
     29   width: 200px;
     30   }
     31   ]]></style>
     32 
     33  </head>
     34 
     35  <body>
     36 
     37   <p>Test passes if there is <strong>no red</strong>.</p>
     38 
     39   <div id="parent">
     40     <div id="child"></div>
     41   </div>
     42 
     43  </body>
     44 </html>