From 8f117475b87d653f857cfc004c145381f6235a52 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Tue, 27 May 2008 02:35:36 +0000 Subject: [PATCH] autodrag - Added beginning of selectables tests --- ui/tests/autodrag.html | 66 ++++++++++++++++++++++++++-------------- ui/tests/ui.testmouse.js | 20 ++++++------ 2 files changed, 53 insertions(+), 33 deletions(-) diff --git a/ui/tests/autodrag.html b/ui/tests/autodrag.html index bb005b518..8f436576f 100644 --- a/ui/tests/autodrag.html +++ b/ui/tests/autodrag.html @@ -1,10 +1,11 @@ - Draggable - Automated Test Page + jQuery UI - Automated Tests + @@ -13,24 +14,28 @@ html, body { height: 100%; } #main { height: 100%; } -#foo { position: relative; margin: 10px; padding: 10px; border: 3px solid gray; cursor: move; width: 200px; height: 100px; background: #eef; text-align: center; } +#foo { position: relative; margin: 10px; padding: 10px; border: 3px solid gray; width: 200px; height: 200px; background: #eef; text-align: center; } +#foo * { margin: 4px; } .ui-draggable .msg-missing-class { display: none !important; background: red; color: white; font-weight: bold; } .ui-draggable .msg-enabled { display: block; } .ui-draggable .msg-disabled { display: none; } .ui-draggable-disabled .msg-enabled { display: none !important; } .ui-draggable-disabled .msg-disabled { display: block !important; } +.ui-selectable .msg-missing-class { display: none !important; background: red; color: white; font-weight: bold; } +.ui-selectable .msg-enabled { display: block; } +.ui-selectable .msg-disabled { display: none; } +.ui-selectable-disabled .msg-enabled { display: none !important; } +.ui-selectable-disabled .msg-disabled { display: block !important; } +//.ui-selectee { border: 1px solid white; } +.ui-selecting { background: Highlight; color: HighlightText; outline: 1px dotted white; } +.ui-selected { background: Highlight; color: HighlightText; outline: 1px dotted black; } - -