tor-browser

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

outline-017.xht (1382B)


      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: inherit with two values</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" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#dynamic-outlines" />
      8         <meta name="assert" content="Outline with value inherit uses its parent's outline values (2 values)." />
      9         <style type="text/css">
     10             body
     11             {
     12                 background: white;
     13             }
     14             #test
     15             {
     16                 border: 3px solid blue;
     17                 outline: red solid 10px;
     18                 outline: inherit;
     19             }
     20             #parent
     21             {
     22                 outline: green dotted 10px;
     23                 padding: 50px;
     24                 border: 3px solid blue;
     25             }
     26         </style>
     27     </head>
     28     <body>
     29         <p>Test passes if there is a dotted green outline closely surrounding both blue boxes. Both green outlines need to be the same width, style and color and there is no red visible on the page.</p>
     30         <div id="parent">
     31             <div id="test">Filler text</div>
     32         </div>
     33     </body>
     34 </html>