summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ui/resize-002.html
blob: cccab9c97265b16963304c6d4e0d635deadaac6c (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 - horizontal - only the width can be 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 only the width of element can be adjusted when resize set horizontal">
<style>
  #test {
    border: 2px solid blue;
    height: 100px;
    overflow: auto;
    resize: horizontal;
    width: 100px;
  }
</style>
<body>
  <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>
  <div id="test"></div>
</body>