tor-browser

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

outline-width-095.xht (2028B)


      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: Outline-width set to 'inherit'</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#propdef-outline-width" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#dynamic-outlines" />
      8         <meta name="assert" content="The 'outline-width' property supports a value of 'inherit' and gets its computed value from its parent." />
      9         <style type="text/css">
     10             #parent
     11             {
     12                 margin: 5em 0 0 1em;
     13                 position: relative;
     14             }
     15             #abs
     16             {
     17                 border: 1em solid white;
     18                 position: absolute;
     19                 top: -2em;
     20                 left: -1em;
     21                 height: 4em;
     22                 width: 22em;
     23             }
     24             div div
     25             {
     26                 width: 20em;
     27             }
     28             #div1
     29             {
     30                 margin-left: 1em;
     31                 outline-color: invert;
     32                 outline-style: solid;
     33                 outline-width: 1em;
     34             }
     35             #div1 div
     36             {
     37                 outline-color: orange;
     38                 outline-style: solid;
     39                 outline-width: inherit;
     40                 height: 2em;
     41             }
     42             #div2
     43             {
     44                 border: solid blue 1em;
     45                 margin-top: 3em;
     46                 height: 2em;
     47             }
     48         </style>
     49     </head>
     50     <body>
     51     <p>Test passes if there the two boxes are the same size and the bottom box is blue and the top box is blue or black.</p>
     52         <div id="parent">
     53             <div id="abs"></div>
     54             <div id="div1">
     55                 <div>Filler Text</div>
     56             </div>
     57             <div id="div2">Filler Text</div>
     58         </div>
     59     </body>
     60 </html>