5 div.outer { width:
125px; height:
125px; float: left; background: red; margin-right:
10px; }
6 div.overflow { width:
75px; height:
75px; resize: both; background: green; }
7 div.inner { width:
100px; height:
100px; }
8 div#t1 { overflow: auto; }
9 div#t2 { overflow: scroll; }
10 div#t3 { overflow-x: hidden; overflow-y: scroll; }
11 div#t4 { overflow-x: scroll; overflow-y: hidden; }
16 var element
= document
.getElementById(id
);
17 var x
= element
.offsetLeft
+ element
.offsetWidth
- 7;
18 var y
= element
.offsetTop
+ element
.offsetHeight
- 7;
19 eventSender
.mouseMoveTo(x
, y
);
20 eventSender
.mouseDown();
21 eventSender
.mouseMoveTo(x
+ 50, y
+ 50);
22 eventSender
.mouseUp();
27 if (!window
.eventSender
)
36 <body onload=
"test()">
38 Test for
<i><a href=
"http://bugs.webkit.org/show_bug.cgi?id=13353">http://bugs.webkit.org/show_bug.cgi?id=
13353</a>
39 REGRESSION (r20754-
20766): Textarea does not resize when scrollbar is present
</i>.
42 To test interactively, verify that you can resize each of the boxes below. The automatic test
43 resizes them to
125 by
125.
46 <div class=
"overflow" id=
"t1">
47 <div class=
"inner"></div>
52 <div class=
"overflow" id=
"t2">
53 <div class=
"inner"></div>
58 <div class=
"overflow" id=
"t3">
59 <div class=
"inner"></div>
64 <div class=
"overflow" id=
"t4">
65 <div class=
"inner"></div>