tor-browser

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

border-width-014.xht (1069B)


      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: inherit - border-style inherit</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="border-width-014-ref.xht" />
     12 
     13 
     14   <style type="text/css"><![CDATA[
     15   #grand-parent
     16   {
     17   border-color: transparent;
     18   border-style: solid;
     19   border-width: 1em;
     20   }
     21 
     22   #parent
     23   {
     24   border-color: transparent;
     25   border-style: inherit;
     26   border-width: inherit;
     27   }
     28 
     29   #child
     30   {
     31   border-color: green;
     32   border-style: inherit;
     33   border-width: inherit;
     34   }
     35   ]]></style>
     36 
     37  </head>
     38 
     39  <body>
     40 
     41   <p>Test passes if there is a thick green bar across the page.</p>
     42 
     43   <div id="grand-parent">
     44     <div id="parent">
     45       <div id="child"></div>
     46     </div>
     47   </div>
     48 
     49  </body>
     50 </html>