From 7da9735a9e370eb88cbfaae66c20a6dd67f0bd8e Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Sat, 7 Feb 2009 19:02:08 +0000 Subject: [PATCH] droppable visual tests: added option accept tests --- tests/visual/droppable/droppable.css | 3 ++ tests/visual/droppable/droppable.html | 30 +++----------- .../droppable_option_accept_default.html | 37 +++++++++++++++++ .../droppable_option_accept_function.html | 40 +++++++++++++++++++ .../droppable_option_accept_selector.html | 38 ++++++++++++++++++ 5 files changed, 124 insertions(+), 24 deletions(-) create mode 100644 tests/visual/droppable/droppable.css create mode 100644 tests/visual/droppable/droppable_option_accept_default.html create mode 100644 tests/visual/droppable/droppable_option_accept_function.html create mode 100644 tests/visual/droppable/droppable_option_accept_selector.html diff --git a/tests/visual/droppable/droppable.css b/tests/visual/droppable/droppable.css new file mode 100644 index 000000000..cfe663ece --- /dev/null +++ b/tests/visual/droppable/droppable.css @@ -0,0 +1,3 @@ +#draggables * { width: 100px; height: 20px; display: block; margin-bottom: 1em; background: #abc; } +#droppable { width: 200px; } +#droppable * { margin: 0.8em; padding: 0.4em; } diff --git a/tests/visual/droppable/droppable.html b/tests/visual/droppable/droppable.html index 998573271..2a03da716 100644 --- a/tests/visual/droppable/droppable.html +++ b/tests/visual/droppable/droppable.html @@ -1,8 +1,8 @@ - Simple Droppable - + Droppable Visual Test : Default + @@ -10,31 +10,13 @@ - - - +
+

Droppable

+
diff --git a/tests/visual/droppable/droppable_option_accept_default.html b/tests/visual/droppable/droppable_option_accept_default.html new file mode 100644 index 000000000..b47f2ef73 --- /dev/null +++ b/tests/visual/droppable/droppable_option_accept_default.html @@ -0,0 +1,37 @@ + + + + Droppable Visual Test : Draggable option accept default + + + + + + + + + + + +
+
Draggable div
+

Draggable p

+ Draggable span
+ + +
+

Droppable

+
+ + diff --git a/tests/visual/droppable/droppable_option_accept_function.html b/tests/visual/droppable/droppable_option_accept_function.html new file mode 100644 index 000000000..36606e7ea --- /dev/null +++ b/tests/visual/droppable/droppable_option_accept_function.html @@ -0,0 +1,40 @@ + + + + Droppable Visual Test : Draggable option accept function + + + + + + + + + + + +
+
Draggable div
+

Draggable p

+ Draggable span
+ + +
+

Droppable

+
+ + diff --git a/tests/visual/droppable/droppable_option_accept_selector.html b/tests/visual/droppable/droppable_option_accept_selector.html new file mode 100644 index 000000000..97bee428b --- /dev/null +++ b/tests/visual/droppable/droppable_option_accept_selector.html @@ -0,0 +1,38 @@ + + + + Droppable Visual Test : Draggable option accept selector + + + + + + + + + + + +
+
Draggable div
+

Draggable p

+ Draggable span
+ + +
+

Droppable

+
+ + -- 2.39.5