tor-browser

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

outline-width-096.xht (1054B)


      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: outline-width - 'outline-style: none' and inherit</title>
      8 
      9   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
     10   <link rel="help" title="Section 18.4 Dynamic outlines: the 'outline' property" href="http://www.w3.org/TR/CSS21/ui.html#dynamic-outlines" />
     11   <link rel="match" href="outline-width-096-ref.xht" />
     12 
     13   <meta content="The computed value of 'outline-width' property is '0' if 'outline-style' is 'none'" name="assert" />
     14 
     15   <style type="text/css"><![CDATA[
     16   #parent
     17   {
     18   margin: 40px 20px;
     19   outline: black none 20px;
     20   }
     21 
     22   #child
     23   {
     24   outline-color: green;
     25   outline-style: solid;
     26   outline-width: inherit;
     27   }
     28   ]]></style>
     29 
     30  </head>
     31 
     32  <body>
     33 
     34   <p>Test passes if there is a <strong>green outline</strong>.</p>
     35 
     36   <div id="parent">
     37    <div id="child">Filler Text</div>
     38   </div>
     39 
     40  </body>
     41 </html>