diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2013-04-04 22:04:39 +0200 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2013-04-06 17:09:52 -0400 |
commit | dca7681284731053124e6437c5bec58e030cc91d (patch) | |
tree | 6646d538c7866f9336f2ac11a6e181b616a5632f /test/unit/offset.js | |
parent | 1b610266502490eab42a0b9ddfac2f93da0b0fe1 (diff) | |
download | jquery-dca7681284731053124e6437c5bec58e030cc91d.tar.gz jquery-dca7681284731053124e6437c5bec58e030cc91d.zip |
Improve CSS and `Support:` comments. Close gh-1220.
1) corrected box-sizing rules order - the unprefixed value should always be the last one
2) removed last semi-colons in CSS rules
3) updated support comments
code review changes + more consistent comment spacing
Diffstat (limited to 'test/unit/offset.js')
-rw-r--r-- | test/unit/offset.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/offset.js b/test/unit/offset.js index 08b90c3b8..0d8bcc726 100644 --- a/test/unit/offset.js +++ b/test/unit/offset.js @@ -18,8 +18,7 @@ var supportsScroll, supportsFixedPosition, supportsScroll = document.documentElement.scrollTop || document.body.scrollTop; forceScroll.detach(); - // Safari subtracts parent border width here (which is 5px) - supportsFixedPosition = checkFixed[0].offsetTop === 20 || checkFixed[0].offsetTop === 15; + supportsFixedPosition = checkFixed[0].offsetTop === 20; checkFixed.remove(); }; |