summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ui/resize-007.html
blob: c596e9dbba2b42e117db6853d350b205ff446a69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Basic User Interface Test: resize - invalid without overflow property</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 resize property is invalid without overflow property">
<style>
  #test {
    border: 2px solid blue;
    height: 100px;
    resize: both;
    width: 100px;
  }
</style>
<body>
  <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>
  <div id="test"></div>
</body>