diff options
author | Ethan Romba <ethanromba@gmail.com> | 2012-07-10 01:02:25 -0700 |
---|---|---|
committer | Mike Sherov <mike.sherov@gmail.com> | 2012-11-12 21:41:22 -0500 |
commit | 3974b55ba5078799df818c78d9273e11d9796ff3 (patch) | |
tree | 272e130bd69ecbbaa05bb0ef46a38495beabd665 /tests/unit/resizable/resizable.html | |
parent | 902df84fce790178da78c5830498911a487d50cf (diff) | |
download | jquery-ui-3974b55ba5078799df818c78d9273e11d9796ff3.tar.gz jquery-ui-3974b55ba5078799df818c78d9273e11d9796ff3.zip |
Resizable: Update CSS dimensions selectively. Fixes #7605 - Setting width and height when only one is changing
Resizable: Trigger resize event only when element is resized. Fixes #5545 - Callbacks ignore the grid.
Resizable: Added event tests. Fixes #5817 - resize event reports unconstrained ui.size
Diffstat (limited to 'tests/unit/resizable/resizable.html')
-rw-r--r-- | tests/unit/resizable/resizable.html | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/tests/unit/resizable/resizable.html b/tests/unit/resizable/resizable.html index eca465ae9..0a27f2a80 100644 --- a/tests/unit/resizable/resizable.html +++ b/tests/unit/resizable/resizable.html @@ -29,6 +29,18 @@ <script src="resizable_test_helpers.js"></script> <script src="../swarminject.js"></script> + + <style> + #resizable1 { + background: green; + height: 100px; + width: 100px; + } + #resizable2 { + height: 100px; + width: 100px; + } + </style> </head> <body> @@ -39,8 +51,8 @@ <ol id="qunit-tests"></ol> <div id="qunit-fixture"> -<div id="resizable1" style="background: green; width: 100px; height: 100px;">I'm a resizable.</div> -<img src="images/test.jpg" id="resizable2" style="width: 100px; height: 100px;" alt="solid gray"> +<div id="resizable1">I'm a resizable.</div> +<img src="images/test.jpg" id="resizable2" alt="solid gray"> </div> </body> |