JQuery UI resizable example (with buggy jquery-ui)

With JQuery UI 1.10.3, the resulting div after a resize is one pixel too small in both directions.

HTML

<link href="http://code.jquery.com/ui/jquery-ui-git.css" rel="stylesheet">
<script src="http://code.jquery.com/jquery-git.js"></script>
<script src="https://code.jquery.com/ui/1.14.1/jquery-ui.min.js"></script>

<div id="resize">Upon resizing, the width and height will increase by 60px, which is padding x 2</div>

<div id="output"></div>

CSS

#resize {
    background-color: #ccc;
    height: 200px;
    width: 200px;
    padding: 30px;
    box-sizing: border-box;
}

#output {
    position: fixed;
    bottom: 0;
}

JavaScript

$( "#resize" ).resizable({
    resize: function( event, ui ) {
        $( "#output" ).text(
            "Height: " + ui.size.height + " " +
            "Width: " + ui.size.width
        );
    }
});