4 <script type=
"text/javascript">
7 var slider
= document
.getElementById("slider");
8 var x
= slider
.offsetWidth
* 3 / 4;
9 var y
= slider
.offsetHeight
/ 2;
11 var event
= document
.createEvent("MouseEvent");
12 event
.initMouseEvent("mousedown", true, true, document
.defaultView
, 1, 0, 0, x
, y
, false, false, false, false, 0, document
);
13 slider
.dispatchEvent(event
);
17 <body onload=
"test()">
19 Test for
<i><a href=
"http://bugs.webkit.org/show_bug.cgi?id=11621">http://bugs.webkit.org/show_bug.cgi?id=
11621</a>
20 REGRESSION (Native slider): slider thumb not updated when the mouse is dragged/released out of range
</i>.
23 The slider thumbs should be at the same horizontal position.
25 <input type=
"range" id=
"slider" value=
"30">
27 <input type=
"range" value=
"70">