Changes between Initial Version and Version 1 of Ticket #15213


Ignore:
Timestamp:
Jun 28, 2017, 11:06:49 PM (4 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15213 – Description

    initial v1  
    99https://github.com/jquery/jquery-ui/blob/master/ui/widgets/resizable.js#L1036-L1042
    1010
    11 ```js
     11{{{#!js
    1212$( o.alsoResize ).each( function() {
    1313                        var el = $( this );
     
    1717                        } );
    1818                } );
    19 ```
     19}}}
    2020
    2121https://github.com/jquery/jquery-ui/blob/master/ui/widgets/resizable.js#L1057-L1071
    2222
    23 ```js
     23{{{#!js
    2424$( o.alsoResize ).each( function() {
    2525                                var el = $( this ), start = $( this ).data( "ui-resizable-alsoresize" ), style = {},
     
    3737                                el.css( style );
    3838                        } );
    39 
    40 ```
     39}}}
    4140
    4241jQuery method `width/height` get the content width/height do not include padding, so we should use `outerWidth/outerHeight`