diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2018-10-08 18:25:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-08 18:25:15 +0200 |
commit | 354f6036f251a3ce9b24cd7b228b4c7a79001520 (patch) | |
tree | 065a83e9c535a56e675e03b7fcb637c6fcd876da /test/unit/css.js | |
parent | dae5f3ce3d2df27873d01f0d9682f6a91ad66b87 (diff) | |
download | jquery-354f6036f251a3ce9b24cd7b228b4c7a79001520.tar.gz jquery-354f6036f251a3ce9b24cd7b228b4c7a79001520.zip |
CSS: Don't read styles.position in the width/height cssHook unless necessary
Current width/height cssHook reads the computed position style even if not
necessary as the browser passes the scrollboxSize support test. That has been
changed.
This commit also makes the scrollboxSize support test in line with all others
(i.e. only return true or false) and changes the variable name in the hook
to make the code clearer.
Fixes gh-4185
Closes gh-4187
Diffstat (limited to 'test/unit/css.js')
0 files changed, 0 insertions, 0 deletions