tor-browser

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

border-bottom-017.xht (1172B)


      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: Border-bottom set to inherit, inheriting two values for a shorthand property</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
      8         <meta name="assert" content="The 'border-bottom' shorthand property properly accepts 'inherit' as a value and uses its parent's border setting." />
      9         <style type="text/css">
     10             #div1
     11             {
     12                 border-bottom: dashed blue;
     13                 padding-bottom: 10px;
     14             }
     15             div div
     16             {
     17                 border-bottom: inherit;
     18                 height: 1in;
     19             }
     20         </style>
     21     </head>
     22     <body>
     23         <p>Test passes if there are two dashed blue lines below.</p>
     24         <div id="div1">
     25             <div></div>
     26         </div>
     27     </body>
     28 </html>