-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Expand file tree
/
Copy pathresize-019.html
More file actions
30 lines (28 loc) · 894 Bytes
/
resize-019.html
File metadata and controls
30 lines (28 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Basic User Interface Test: resizing constraints</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net">
<link rel="help" href="https://drafts.csswg.org/css-ui-3/#resize">
<meta name="flags" content="interact">
<meta name="assert" content="UAs must not place constrains on resizing that would prevent an element from becoming smaller than its original size.">
<style>
#test {
position: absolute;
background: orange;
height: 100px;
width: 100px;
overflow: auto;
resize: both;
}
#ref {
position: absolute;
background: green;
height: 100px;
width: 100px;
}
</style>
<p>The test passes is you can resize the orange box to be smaller than its initial size.
For reference there is an unresizable green box beneath it.
If you can uncover it, the test passes.</p>
<div id=ref></div>
<div id=test></div>