diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2016-01-11 19:23:28 +0100 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2016-01-11 19:23:28 +0100 |
commit | d19aa974630b31e58d1c35b72157eb73fd59d638 (patch) | |
tree | 8274bdb12cf19e30b59fc6abc0d69464182ee6d0 | |
parent | 090b82776f9355f6fe8a5940b0b18fb1b82f0788 (diff) | |
download | jquery-d19aa974630b31e58d1c35b72157eb73fd59d638.tar.gz jquery-d19aa974630b31e58d1c35b72157eb73fd59d638.zip |
Tests: compat -> 1.x in comments
(cherry-picked from df31b88135f94f903c8a887085d30d085a9c62f6)
-rw-r--r-- | test/unit/offset.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/offset.js b/test/unit/offset.js index 4df5cbeea..b8e0c6977 100644 --- a/test/unit/offset.js +++ b/test/unit/offset.js @@ -63,7 +63,7 @@ QUnit.test( "disconnected element", function( assert ) { var result = jQuery( document.createElement( "div" ) ).offset(); - // These tests are solely for master/compat consistency + // These tests are solely for 2.x/1.x consistency // Retrieving offset on disconnected/hidden elements is not officially // valid input, but will return zeros for back-compat assert.equal( result.top, 0, "Retrieving offset on disconnected elements returns zeros (gh-2310)" ); @@ -431,7 +431,7 @@ testIframe( "offset/scroll", "scroll", function( $, win, doc, assert ) { } assert.equal( $( "#scroll-1-1" ).offset().left, 11, "jQuery('#scroll-1-1').offset().left" ); - // These tests are solely for master/compat consistency + // These tests are solely for 2.x/1.x consistency // Retrieving offset on disconnected/hidden elements is not officially // valid input, but will return zeros for back-compat // assert.equal( $( "#hidden" ).offset().top, 0, "Hidden elements do not subtract scroll" ); |