tor-browser

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

outline-offset-001.html (1029B)


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