outline-001.html (992B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Basic User Interface Test: outline - create outline likes border property</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 creates outlines around visual objects and makes them stand out"> 9 <style> 10 #container { 11 background-color: red; 12 height: 100px; 13 width: 100px; 14 } 15 #test { 16 background-color: green; 17 height: 60px; 18 left: 20px; 19 outline: 20px green solid; 20 position: relative; 21 top: 20px; 22 width: 60px; 23 } 24 </style> 25 <body> 26 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 27 <div id="container"> 28 <div id="test"></div> 29 </div> 30 </body>