2010-03-12 03:18:34 +00:00
|
|
|
<!DOCTYPE html>
|
2009-01-28 14:04:58 +00:00
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2010-03-12 03:18:34 +00:00
|
|
|
<meta charset="UTF-8" />
|
2009-01-28 14:04:58 +00:00
|
|
|
<title>Slider Visual Test : Slider in container with scrollbars</title>
|
|
|
|
<link rel="stylesheet" href="../visual.css" type="text/css" />
|
2010-02-16 01:38:23 +00:00
|
|
|
<link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
|
2010-11-12 14:19:26 +00:00
|
|
|
<script type="text/javascript" src="../../../jquery-1.4.4.js"></script>
|
2009-09-17 10:39:12 +00:00
|
|
|
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
2009-12-16 22:20:18 +00:00
|
|
|
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
2010-01-01 12:43:36 +00:00
|
|
|
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
|
2009-09-17 10:39:12 +00:00
|
|
|
<script type="text/javascript" src="../../../ui/jquery.ui.slider.js"></script>
|
2009-01-28 14:04:58 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(function() {
|
|
|
|
$("#slider").slider({ value: 50 });
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<h1>
|
|
|
|
TEST: press UP, DOWN, LEFT, RIGHT, HOME, END on a slider which is inside a container with scrollbars.
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
<div style="width: 200px; height: 150px; overflow:scroll;">
|
|
|
|
|
|
|
|
<div style="width: 220px; height: 180px;">
|
|
|
|
|
|
|
|
<div style="width: 100px; margin-left: 40px; margin-top: 60px;" id="slider"></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h2>
|
|
|
|
ASSERT: the scrollbars do not move when the focus is on the slider handle and an arrow key or HOME or END are pressed.
|
|
|
|
</h2>
|
|
|
|
<h2>
|
|
|
|
ASSERT: the scrollbars move when the focus is not on the slider handle and an arrow key or HOME or END are pressed.
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|