1 <!DOCTYPE html>
2 <html><head><meta charset="utf-8">
3 <title>CSS Basic User Interface Test: resize - inherit - the resize property inherits parent element</title>
4 <link href="http://www.intel.com/" rel="author" title="Intel">
5 <link href="mailto:shiyoux.tan@intel.com" rel="author" title="Shiyou Tan">
6 <link href="http://www.w3.org/TR/css3-ui/#resize" rel="help" title="8.1. 'resize' property">
7 <meta content="interact" name="flags">
8 <meta content="Test checks that the resize element inherits parent element" name="assert">
9 <style>
10 #parent {
11 border: 2px solid blue;
12 height: 150px;
13 overflow: auto;
14 resize: both;
15 width: 150px;
16 }
17 #child {
18 border: 2px solid green;
19 height: 75px;
20 overflow: auto;
21 resize: inherit;
22 width: 75px;
23 }
24 </style>
25 </head><body>
26 <p>Test passes if both the height and width of the <strong>green</strong> border square inside blue square can be adjusted(for instance by dragging the bottom-right corner).</p>
27 <div id="parent">
28 <div id="child"></div>
29 </div>
30
31 </body></html>