aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/resizable/resizable.html
diff options
context:
space:
mode:
authorJyoti Deka <dekajp@gmail.com>2013-11-07 09:39:51 -0500
committerMike Sherov <mike.sherov@gmail.com>2013-12-15 12:29:55 -0500
commitc03cb8079c6984fb9286a64d980d367d86b9cd8b (patch)
tree5a970098b8033141fca440e807e0864bc08decdb /tests/unit/resizable/resizable.html
parent38c6cf13829c7d010ca2575ad86526ee57c879ae (diff)
downloadjquery-ui-c03cb8079c6984fb9286a64d980d367d86b9cd8b.tar.gz
jquery-ui-c03cb8079c6984fb9286a64d980d367d86b9cd8b.zip
Resizable: containment now works with non - immediate children
Fixes #7485 Closes gh-1130
Diffstat (limited to 'tests/unit/resizable/resizable.html')
-rw-r--r--tests/unit/resizable/resizable.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/unit/resizable/resizable.html b/tests/unit/resizable/resizable.html
index 255c98887..bfff528fa 100644
--- a/tests/unit/resizable/resizable.html
+++ b/tests/unit/resizable/resizable.html
@@ -44,6 +44,22 @@
height: 100px;
width: 100px;
}
+ #container2 {
+ position: relative;
+ width: 400px;
+ height: 400px;
+ margin: 30px 0 0 30px;
+ }
+ #parent {
+ position: relative;
+ width: 300px;
+ height: 300px;
+ }
+ #child {
+ position: relative;
+ width: 100px;
+ height: 100px;
+ }
</style>
</head>
<body>
@@ -58,6 +74,12 @@
<div id="container">
<div id="resizable1">I'm a resizable.</div>
</div>
+
+<div id="container2">
+ <div id="parent">
+ <div id="child">I'm a resizable.</div>
+ </div>
+</div>
<img src="images/test.jpg" id="resizable2" alt="solid gray">
</div>