resize-005.html (887B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Basic User Interface Test: resize - none - neither width nor 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 neither the width nor the height can be adjusted when resize set none"> 9 <style> 10 #test { 11 border: 2px solid blue; 12 height: 100px; 13 overflow: auto; 14 resize: none; 15 width: 100px; 16 } 17 </style> 18 <body> 19 <p>Test passes if <strong>neither</strong> the height <strong>nor</strong> the width of the blue border square can be adjusted(for instance by dragging the bottom-right corner).</p> 20 <div id="test"></div> 21 </body>