aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog/dialog.html
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-11-16 19:33:55 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-11-26 10:28:23 +0100
commitb694409e76181dbfdfec9419d9c3f688ff183a53 (patch)
tree122718b0b952f292025f07bbf86131ae17245f0e /tests/unit/dialog/dialog.html
parent999617343f7b813dc1c8d9c9048489e4d99d0470 (diff)
downloadjquery-ui-b694409e76181dbfdfec9419d9c3f688ff183a53.tar.gz
jquery-ui-b694409e76181dbfdfec9419d9c3f688ff183a53.zip
Dialog: Extend visual test to verify DOM position restore on destroy; overhaul unit test for destroy method.
Diffstat (limited to 'tests/unit/dialog/dialog.html')
-rw-r--r--tests/unit/dialog/dialog.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/unit/dialog/dialog.html b/tests/unit/dialog/dialog.html
index 0022b42cf..0b5ca4856 100644
--- a/tests/unit/dialog/dialog.html
+++ b/tests/unit/dialog/dialog.html
@@ -45,6 +45,17 @@
<div id="qunit-fixture">
<div id="dialog1"></div>
<div id="dialog2"></div>
+ <div id="form-dialog" title="Profile Information">
+ <fieldset>
+ <legend>Please share some personal information</legend>
+ <label for="favorite-animal">Your favorite animal</label><input id="favorite-animal">
+ <label for="favorite-color">Your favorite color</label><input id="favorite-color">
+ </fieldset>
+ <div role="group" aria-describedby="section2">
+ <p id="section2">Some more (optional) information</p>
+ <label for="favorite-food">Favorite food</label><input id="favorite-food">
+ </div>
+ </div>
</div>
</body>
</html>