aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRichard D. Worth <rdworth@gmail.com>2012-04-26 10:06:01 -0400
committerRichard D. Worth <rdworth@gmail.com>2012-04-26 10:06:01 -0400
commit4fd2befe94421d330c02004dcad4cc03a38ba99e (patch)
tree13e74eafa6e7c9aab11f53bf1f88b83f97d65091 /tests
parent258a637cc614f54dcf5af2ae4fc5dc26d5a630d0 (diff)
downloadjquery-ui-4fd2befe94421d330c02004dcad4cc03a38ba99e.tar.gz
jquery-ui-4fd2befe94421d330c02004dcad4cc03a38ba99e.zip
tests visual position: minor refactor
Diffstat (limited to 'tests')
-rw-r--r--tests/visual/position/position_fit.html40
-rw-r--r--tests/visual/position/position_flip.html22
-rw-r--r--tests/visual/position/position_flipfit.html28
3 files changed, 45 insertions, 45 deletions
diff --git a/tests/visual/position/position_fit.html b/tests/visual/position/position_fit.html
index acb2672bc..a70423c79 100644
--- a/tests/visual/position/position_fit.html
+++ b/tests/visual/position/position_fit.html
@@ -16,8 +16,8 @@
$("ul").insertAfter(inputs);
inputs.each(function(index) {
$(this).position({
- my: $(this).data("position").replace(/-/, " "),
- at: $(this).data("position").replace(/-/, " "),
+ my: $(this).data("position"),
+ at: $(this).data("position"),
of: "#container"+index,
collision: "none"
});
@@ -113,25 +113,25 @@
<div id="container16" class="container2"></div>
<div id="container17" class="container2"></div>
-<input data-position="left-top" />
-<input data-position="center-top" />
-<input data-position="right-top" />
-<input data-position="left-top" />
-<input data-position="center-top" />
-<input data-position="right-top" />
-<input data-position="left-top" />
-<input data-position="center-top" />
-<input data-position="right-top" />
+<input data-position="left top" />
+<input data-position="center top" />
+<input data-position="right top" />
+<input data-position="left top" />
+<input data-position="center top" />
+<input data-position="right top" />
+<input data-position="left top" />
+<input data-position="center top" />
+<input data-position="right top" />
-<input data-position="left-top" />
-<input data-position="center-center" />
-<input data-position="right-bottom" />
-<input data-position="left-top" />
-<input data-position="center-center" />
-<input data-position="right-bottom" />
-<input data-position="left-top" />
-<input data-position="center-center" />
-<input data-position="right-bottom" />
+<input data-position="left top" />
+<input data-position="center center" />
+<input data-position="right bottom" />
+<input data-position="left top" />
+<input data-position="center center" />
+<input data-position="right bottom" />
+<input data-position="left top" />
+<input data-position="center center" />
+<input data-position="right bottom" />
<ul>
<li><a href="#">Java</a></li>
diff --git a/tests/visual/position/position_flip.html b/tests/visual/position/position_flip.html
index 66f0b243f..b67c76fb3 100644
--- a/tests/visual/position/position_flip.html
+++ b/tests/visual/position/position_flip.html
@@ -16,8 +16,8 @@
$("ul").insertAfter(inputs);
inputs.each(function(index) {
$(this).position({
- my: $(this).data("position").replace(/-/, " "),
- at: $(this).data("position").replace(/-/, " "),
+ my: $(this).data("position"),
+ at: $(this).data("position"),
of: "#container"+index,
collision: "none"
});
@@ -52,15 +52,15 @@
<div id="container7" class="container" style="height:100px; margin-bottom: 500px;"></div>
<div id="container8" class="container" style="height:100px; margin-bottom: 500px;"></div>
-<input data-position="left-top" />
-<input data-position="center-top" />
-<input data-position="right-top" />
-<input data-position="left-center" />
-<input data-position="center-center" />
-<input data-position="right-center" />
-<input data-position="left-bottom" />
-<input data-position="center-center" />
-<input data-position="right-bottom" />
+<input data-position="left top" />
+<input data-position="center top" />
+<input data-position="right top" />
+<input data-position="left center" />
+<input data-position="center center" />
+<input data-position="right center" />
+<input data-position="left bottom" />
+<input data-position="center center" />
+<input data-position="right bottom" />
<ul>
<li><a href="#">Java</a></li>
diff --git a/tests/visual/position/position_flipfit.html b/tests/visual/position/position_flipfit.html
index 5139b9b88..840dd5868 100644
--- a/tests/visual/position/position_flipfit.html
+++ b/tests/visual/position/position_flipfit.html
@@ -16,8 +16,8 @@
$("ul").insertAfter(inputs);
inputs.each(function(index) {
$(this).position({
- my: $(this).data("position").replace(/-/, " "),
- at: $(this).data("position").replace(/-/, " "),
+ my: $(this).data("position"),
+ at: $(this).data("position"),
of: "#container"+index,
collision: "none"
});
@@ -58,18 +58,18 @@
<div id="container10" class="container" style="height:100px; margin-bottom: 500px;"></div>
<div id="container11" class="container" style="height:100px; margin-bottom: 500px;"></div>
-<input data-position="left-top" />
-<input data-position="center-top" />
-<input data-position="right-top" />
-<input data-position="left-top" />
-<input data-position="center-top" />
-<input data-position="right-top" />
-<input data-position="left-center" />
-<input data-position="center-center" />
-<input data-position="right-center" />
-<input data-position="left-bottom" />
-<input data-position="center-center" />
-<input data-position="right-bottom" />
+<input data-position="left top" />
+<input data-position="center top" />
+<input data-position="right top" />
+<input data-position="left top" />
+<input data-position="center top" />
+<input data-position="right top" />
+<input data-position="left center" />
+<input data-position="center center" />
+<input data-position="right center" />
+<input data-position="left bottom" />
+<input data-position="center center" />
+<input data-position="right bottom" />
<ul>
<li><a href="#">Java</a></li>