aboutsummaryrefslogtreecommitdiffstats
path: root/src/.eslintrc.json
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2023-04-04 16:00:55 +0200
committerGitHub <noreply@github.com>2023-04-04 16:00:55 +0200
commitbce13b72c1753e16cc0db53ebf0f0456bdcf6b48 (patch)
tree6465829ebdbd209547355057980f56beb8e0779d /src/.eslintrc.json
parentbcaeb000b777c018ad5d18e01be5060caa8cb158 (diff)
downloadjquery-bce13b72c1753e16cc0db53ebf0f0456bdcf6b48.tar.gz
jquery-bce13b72c1753e16cc0db53ebf0f0456bdcf6b48.zip
CSS: Make `offsetHeight( true )`, etc. include negative margins
This regressed in gh-3656 as the added logic to include scroll gutters in `.innerWidth()` / `.innerHeight()` didn't take negative margins into account. This broke handling of negative margins in `.offsetHeight( true )` and `.offsetWidth( true )`. To fix it, calculate margin delta separately and only add it after the scroll gutter adjustment logic. Fixes gh-3982 Closes gh-5234 Ref gh-3656
Diffstat (limited to 'src/.eslintrc.json')
0 files changed, 0 insertions, 0 deletions