summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ui/resize-001.html
blob: 99c7f05e17cd929b314d1d01b0511ec72a36ad99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Basic User Interface Test: resize - both - both width and height adjusted</title>
<link rel="author" title="Intel" href="http://www.intel.com/">
<link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
<link rel="help" title="8.1. 'resize' property" href="http://www.w3.org/TR/css3-ui/#resize">
<meta name="flags" content="interact">
<meta name="assert" content="Test checks that both width and height adjusted when resize set both.">
<style>
  #test {
    border: 2px solid blue;
    height: 100px;
    overflow: auto;
    resize: both;
    width: 100px;
  }
</style>
<body>
  <p>Test passes if both <strong>width</strong> and <strong>height</strong> of blue border square below can be adjusted(for instance by dragging the bottom-right corner).</p>
  <div id="test"></div>
</body>