tor-browser

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

outline-002.html (1152B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Basic User Interface Test: outline - inherit (basic)</title>
      4 <link rel="author" title="Intel" href="http://www.intel.com/">
      5 <link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
      6 <link rel="help" title="7.1. 'outline' property" href="http://www.w3.org/TR/css3-ui/#outline">
      7 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      8 <meta name="assert" content="Test checks that the outline property inherits the parent's value when outline set inherit">
      9 <style>
     10  #container {
     11    background-color: red;
     12    height: 100px;
     13    width: 100px;
     14  }
     15  #parent {
     16    background-color: red;
     17    height: 80px;
     18    left: 10px;
     19    outline: 10px green solid;
     20    position: relative;
     21    top: 10px;
     22    width: 80px;
     23  }
     24  #child {
     25    background-color: green;
     26    height: 60px;
     27    left: 10px;
     28    outline: inherit;
     29    position: relative;
     30    top: 10px;
     31    width: 60px;
     32  }
     33 </style>
     34 <body>
     35  <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     36  <div id="container">
     37    <div id="parent">
     38      <div id="child"></div>
     39    </div>
     40  </div>
     41 </body>