Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
draggable unit tests: added option iframeFix tests
- Loading branch information
Showing
7 changed files
with
65 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
tests/visual/draggable/draggable_option_iframeFix_false.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,27 @@ | |||
<!doctype html> | |||
<html lang="en"> | |||
<head> | |||
<title>Draggable Visual Test : Draggable option iframeFix false</title> | |||
<link rel="stylesheet" href="../visual.css" type="text/css" /> | |||
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css"> | |||
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script> | |||
<script type="text/javascript" src="../../../ui/ui.core.js"></script> | |||
<script type="text/javascript" src="../../../ui/ui.draggable.js"></script> | |||
<script type="text/javascript"> | |||
$(function() { | |||
$("#draggable").draggable({ | |||
cursorAt: { top: -10, left: -10 }, | |||
iframeFix: false | |||
}); | |||
}); | |||
</script> | |||
</head> | |||
<body> | |||
<div id="draggable"> | |||
<p> Draggable </p> | |||
</div> | |||
<iframe id="iframe1"></iframe> | |||
<iframe id="iframe2"></iframe> | |||
<iframe id="iframe3"></iframe> | |||
</body> | |||
</html> |
27 changes: 27 additions & 0 deletions
27
tests/visual/draggable/draggable_option_iframeFix_selector.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,27 @@ | |||
<!doctype html> | |||
<html lang="en"> | |||
<head> | |||
<title>Draggable Visual Test : Draggable option iframeFix selector</title> | |||
<link rel="stylesheet" href="../visual.css" type="text/css" /> | |||
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css"> | |||
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script> | |||
<script type="text/javascript" src="../../../ui/ui.core.js"></script> | |||
<script type="text/javascript" src="../../../ui/ui.draggable.js"></script> | |||
<script type="text/javascript"> | |||
$(function() { | |||
$("#draggable").draggable({ | |||
cursorAt: { top: -10, left: -10 }, | |||
iframeFix: "#iframe2" | |||
}); | |||
}); | |||
</script> | |||
</head> | |||
<body> | |||
<div id="draggable"> | |||
<p> Draggable </p> | |||
</div> | |||
<iframe id="iframe1"></iframe> | |||
<iframe id="iframe2"></iframe> | |||
<iframe id="iframe3"></iframe> | |||
</body> | |||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters