jquery-resizable

jQuery resizing contained considering container's margin

I don't understand why a resizable containment to the container does not factor in padding and margins. See my jsfiddle Is there anything I'm missing? I think something is off for the maxHeight. If it's retrieving outerHeight(true) then I shouldn't also need to include css('margin-(top|bottom)'), but it looks funky without. Also, fo...