aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/position/position_fit.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/visual/position/position_fit.html')
-rw-r--r--tests/visual/position/position_fit.html40
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/visual/position/position_fit.html b/tests/visual/position/position_fit.html
index dbd52550f..acb2672bc 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.id.replace(/-/, " "),
- at: this.id.replace(/-/, " "),
+ my: $(this).data("position").replace(/-/, " "),
+ at: $(this).data("position").replace(/-/, " "),
of: "#container"+index,
collision: "none"
});
@@ -113,25 +113,25 @@
<div id="container16" class="container2"></div>
<div id="container17" class="container2"></div>
-<input id="left-top" />
-<input id="center-top" />
-<input id="right-top" />
-<input id="left-top" />
-<input id="center-top" />
-<input id="right-top" />
-<input id="left-top" />
-<input id="center-top" />
-<input id="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 id="left-top" />
-<input id="center-center" />
-<input id="right-bottom" />
-<input id="left-top" />
-<input id="center-center" />
-<input id="right-bottom" />
-<input id="left-top" />
-<input id="center-center" />
-<input id="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>