title: jquery UI draggable resizable with containment does not work in ie9?
body: <p>The code works on Chrome and I am trying to get the code to work on ie9. It works properly with the draggable() without containment but messes up the behavior badly when containment is set to parent:</p>
  
  <pre><code>img = $("&lt;img alt='Preview' id='preimg' src='" + data.result.url +"' /&gt;")
  $('#preimage').append(img);
  $('#preimage').resizable({
                      'aspectRatio':true,
                      'handles':"all",
                      'autoHide':true,
                       containment: "parent"
                  }).draggable({
                              containment: "parent"
                          });
  </code></pre>
  
  <p>The parent position is set to relative. I am using jquery 1.7.2 and jquery-ui 1.8.20 
  Is there any workaround?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>After much testing - I have found that the container size calculation for the div is not working correctly, I was able to get it to work with the resizable enabled but without actually resizing the div. As soon as I resize the draggable containment area reduces in size, resizing multiple times leads to this area becoming smaller until the drag option stops working.</p>