resize-002

resize - horizontal - only the width can be adjusted

WeasyPrint

This browser

Flags
interact
Assertion
Test checks that only the width of element can be adjusted when resize set horizontal

Source

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