summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ui/resize-005.html
blob: 7a9db60405246f34af4cc4230e897c9da1c574ce (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 - none - neither width nor height 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 neither the width nor the height can be adjusted when resize set none">
<style>
  #test {
    border: 2px solid blue;
    height: 100px;
    overflow: auto;
    resize: none;
    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>