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