aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/sortable
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2010-03-17 23:37:02 +0000
committerRichard Worth <rdworth@gmail.com>2010-03-17 23:37:02 +0000
commit2725bf3e2fd785fde9fca7c13d0ddad759e31a6c (patch)
treece852d66bab505d1d37bef2a7af7db2fb809ee38 /tests/visual/sortable
parentf2438fe7ebe9a8be30d7d419c1b267c69490a37b (diff)
downloadjquery-ui-2725bf3e2fd785fde9fca7c13d0ddad759e31a6c.tar.gz
jquery-ui-2725bf3e2fd785fde9fca7c13d0ddad759e31a6c.zip
sortable ticket #5355 visual test case - minor cleanup, added eol-style property
Diffstat (limited to 'tests/visual/sortable')
-rw-r--r--tests/visual/sortable/sortable_ticket_5355.html74
1 files changed, 40 insertions, 34 deletions
diff --git a/tests/visual/sortable/sortable_ticket_5355.html b/tests/visual/sortable/sortable_ticket_5355.html
index c23aafb6d..d7511f2c4 100644
--- a/tests/visual/sortable/sortable_ticket_5355.html
+++ b/tests/visual/sortable/sortable_ticket_5355.html
@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
- <title>Visual testcase for #5355</title>
+ <title>Sortable Visual Test : Sortable ticket #5355</title>
<link rel="stylesheet" href="../visual.css" type="text/css" />
<link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
@@ -12,41 +12,47 @@
<script type="text/javascript" src="../../../ui/jquery.ui.draggable.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.droppable.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.sortable.js"></script>
- <style>
- body {
- height: 2000px;
- padding-top: 1000px;
- }
- </style>
- <script>jQuery(document).ready(function(){
- $(".AdminSidebar").sortable({
- connectWith: '.AdminSidebar',
- handle: '.moveWidget'
- });
- });
-</script>
+ <style>
+ #main {
+ height: 2000px;
+ padding-top: 1000px;
+ }
+ </style>
+ <script>
+ $( function() {
+ $( ".AdminSidebar" ).sortable( {
+ connectWith: '.AdminSidebar',
+ handle: '.moveWidget'
+ } );
+ } );
+ </script>
</head>
<body>
- <div class="AdminSidebar" style="float:left">
- <div class="AdminWidget">
- <span class="moveWidget">handle</span>
- <div class="WidgetContent">....</div>
- </div>
- <div class="AdminWidget">
- <span class="moveWidget">handle</span>
- <div class="WidgetContent">....</div>
- </div>
- </div>
- <div class="AdminSidebar" style="float:left;">
- <div class="AdminWidget">
- <span class="moveWidget">handle</span>
- <div class="WidgetContent">....</div>
- </div>
- <div class="AdminWidget">
- <span class="moveWidget">handle</span>
- <div class="WidgetContent">....</div>
- </div>.
- </div>
+
+<h1 class="ui-widget-header"><a href="http://dev.jqueryui.com/ticket/5355">#5355 - cssPosition in sortable</a></h1>
+
+<div id="main">
+ <div class="AdminSidebar" style="float:left">
+ <div class="AdminWidget">
+ <span class="moveWidget">handle</span>
+ <div class="WidgetContent">....</div>
+ </div>
+ <div class="AdminWidget">
+ <span class="moveWidget">handle</span>
+ <div class="WidgetContent">....</div>
+ </div>
+ </div>
+ <div class="AdminSidebar" style="float:left;">
+ <div class="AdminWidget">
+ <span class="moveWidget">handle</span>
+ <div class="WidgetContent">....</div>
+ </div>
+ <div class="AdminWidget">
+ <span class="moveWidget">handle</span>
+ <div class="WidgetContent">....</div>
+ </div>.
+ </div>
+</div>
</body>
</html>