resize-006.html (837B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Basic User Interface Test: resize - vertical - only the height can be adjusted</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="8.1. 'resize' property" href="http://www.w3.org/TR/css3-ui/#resize"> 7 <meta name="flags" content="interact"> 8 <meta name="assert" content="Test checks that only the height can be adjusted when resize set vertical"> 9 <style> 10 #test { 11 border: 2px solid blue; 12 height: 100px; 13 overflow: auto; 14 resize: vertical; 15 width: 100px; 16 } 17 </style> 18 <body> 19 <p>Test passes if only <strong>height</strong> of blue border square below can be adjusted(for instance by dragging the bottom-right corner).</p> 20 <div id="test"></div> 21 </body>