OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <meta charset="utf-8"> |
| 3 <title>CSS Basic User Interface Test: outline-color - inherit (basic) </title> |
| 4 <link rel="author" title="Intel" href="http://www.intel.com/"> |
| 5 <link rel="help" title="7.4. 'outline-color' property" href="http://www.w3.org/T
R/css3-ui/#outline-color"> |
| 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 color of sub element outline i
s same as the color of parent element outline when outline-color set inherit"> |
| 10 <style> |
| 11 #container { |
| 12 background-color: red; |
| 13 height: 100px; |
| 14 width: 100px; |
| 15 } |
| 16 #parent { |
| 17 background-color: red; |
| 18 height: 80px; |
| 19 left: 10px; |
| 20 outline-color: green; |
| 21 outline-style: solid; |
| 22 outline-width: 10px; |
| 23 position: relative; |
| 24 top: 10px; |
| 25 width: 80px; |
| 26 } |
| 27 #child { |
| 28 background-color: green; |
| 29 height: 60px; |
| 30 left: 10px; |
| 31 outline-color: inherit; |
| 32 outline-style: solid; |
| 33 outline-width: 10px; |
| 34 position: relative; |
| 35 top: 10px; |
| 36 width: 60px; |
| 37 } |
| 38 </style> |
| 39 <body> |
| 40 <p>Test passes if there is a filled green square and <strong>no red</strong>.<
/p> |
| 41 <div id="container"> |
| 42 <div id="parent"> |
| 43 <div id="child"></div> |
| 44 </div> |
| 45 </div> |
| 46 </body> |
OLD | NEW |