OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <meta charset="utf-8"> |
| 3 <title>CSS Basic User Interface Test: outline-style - inherit (basic)</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.3. 'outline-style' property" href="http://www.w3.org/T
R/css3-ui/#outline-style"> |
| 7 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#value-def-border-styl
e"> |
| 8 <link rel="match" href="reference/outline-style-012-ref.html"> |
| 9 <meta name="flags" content=""> |
| 10 <meta name="assert" content="Test checks that the sub element outline style is s
ame as parent element outline style when outline-style set inherit"> |
| 11 <style> |
| 12 #parent { |
| 13 height: 110px; |
| 14 margin: 30px; |
| 15 outline-color: blue; |
| 16 outline-style: dotted; |
| 17 outline-width: 4px; |
| 18 padding: 20px; |
| 19 width: 110px; |
| 20 } |
| 21 #child { |
| 22 height: 110px; |
| 23 outline-color: green; |
| 24 outline-style: inherit; |
| 25 outline-width: 4px; |
| 26 width: 110px; |
| 27 } |
| 28 </style> |
| 29 <body> |
| 30 <p>Test passes if there is a blank square with <strong>a green dotted</strong>
border centered inside a blue dotted border.</p> |
| 31 <div id="parent"> |
| 32 <div id="child"></div> |
| 33 </div> |
| 34 </body> |
OLD | NEW |