aboutsummaryrefslogtreecommitdiffstats
path: root/demos/position/default.html
diff options
context:
space:
mode:
authorkborchers <kris.borchers@gmail.com>2011-08-12 22:19:52 -0500
committerkborchers <kris.borchers@gmail.com>2011-08-12 22:19:52 -0500
commit80bbebd4893ca0d75d556553a74550d01f52892f (patch)
treedabf8003668671617441d275d7f15200fed9042a /demos/position/default.html
parentac04462d22d30f4b1a5e0dd34d57fbcc0450b48d (diff)
downloadjquery-ui-80bbebd4893ca0d75d556553a74550d01f52892f.tar.gz
jquery-ui-80bbebd4893ca0d75d556553a74550d01f52892f.zip
Position: Added better collision detection for flip and fit, added visual tests for each and updated the unit tests to take the changes into account. In the process, I removed the rounding that was being done to the position since older jQuery couldn't handle the fractions. There was another pull for this same issue and I have merged the unit tests from that pull into this commit. Also added flipfit!
Diffstat (limited to 'demos/position/default.html')
-rw-r--r--demos/position/default.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/position/default.html b/demos/position/default.html
index 6a753e2f1..f7cba888d 100644
--- a/demos/position/default.html
+++ b/demos/position/default.html
@@ -142,11 +142,13 @@
<select id="collision_horizontal">
<option value="flip">flip</option>
<option value="fit">fit</option>
+ <option value="flipfit">flipfit</option>
<option value="none">none</option>
</select>
<select id="collision_vertical">
<option value="flip">flip</option>
<option value="fit">fit</option>
+ <option value="flipfit">flipfit</option>
<option value="none">none</option>
</select>
</div>