jquery/jquery-ui — pull request #814 by eromba (2012-11-08 07:22:20+00:00)
Title: Resizable: Refactored resize handler. Fixed #5545, #5817, #7605.

(Follow-up to jquery/jquery-ui#694)

This pull request includes a refactoring of Resizable's resize handler that fixes 3 reported issues. The fixes build upon one another, so I am including them together in one request. I've included appropriate test cases for each issue, as well.

Resizable now modifies only the CSS properties that are actually necessary to perform the resize (instead of always setting top, left, width, and height regardless; see [#7605](http://bugs.jqueryui.com/ticket/7605)). This makes the plugin behave more predictably in dynamic layouts.

Furthermore, the plugin's resize event is now altogether more useful:
* The event is triggered only when the element's size is modified (as opposed to every mousemove; see [#5545](http://bugs.jqueryui.com/ticket/5545))
* The ui callback parameter now correctly reports the element's current size (see [#5817](http://bugs.jqueryui.com/ticket/5817))