OLD | NEW |
(Empty) | |
| 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="flags" content=""> |
| 9 <meta name="assert" content="Test checks that the outline-offset keeps spacing b
etween outline and element content"> |
| 10 <style> |
| 11 #container { |
| 12 background-color: green; |
| 13 border: 20px red solid; |
| 14 height: 60px; |
| 15 width: 60px; |
| 16 } |
| 17 #test { |
| 18 background-color: green; |
| 19 height: 20px; |
| 20 left: 20px; |
| 21 outline: 20px green solid; |
| 22 outline-offset: 20px; |
| 23 position: relative; |
| 24 top: 20px; |
| 25 width: 20px; |
| 26 } |
| 27 </style> |
| 28 <body> |
| 29 <p>Test passes if there is a filled green square and <strong>no red</strong>.<
/p> |
| 30 <div id="container"> |
| 31 <div id="test"></div> |
| 32 </div> |
| 33 </body> |
OLD | NEW |