@@ -62,7 +62,7 @@ QUnit.test( "disconnected node", function( assert ) {
6262
6363 var result = jQuery ( document . createElement ( "div" ) ) . offset ( ) ;
6464
65- // These tests are solely for master/compat consistency
65+ // These tests are solely for 2.x/1.x consistency
6666 // Retrieving offset on disconnected/hidden elements is not officially
6767 // valid input, but will return zeros for back-compat
6868 assert . equal ( result . top , 0 , "Check top" ) ;
@@ -77,7 +77,7 @@ QUnit.test( "hidden (display: none) element", function( assert ) {
7777
7878 node . remove ( ) ;
7979
80- // These tests are solely for master/compat consistency
80+ // These tests are solely for 2.x/1.x consistency
8181 // Retrieving offset on disconnected/hidden elements is not officially
8282 // valid input, but will return zeros for back-compat
8383 assert . equal ( result . top , 0 , "Retrieving offset on hidden elements returns zeros (gh-2310)" ) ;
@@ -423,7 +423,7 @@ testIframe( "offset/scroll", "scroll", function( $, win, doc, assert ) {
423423 assert . equal ( $ ( "#scroll-1-1" ) . offset ( ) . top , 11 , "jQuery('#scroll-1-1').offset().top" ) ;
424424 assert . equal ( $ ( "#scroll-1-1" ) . offset ( ) . left , 11 , "jQuery('#scroll-1-1').offset().left" ) ;
425425
426- // These tests are solely for master/compat consistency
426+ // These tests are solely for 2.x/1.x consistency
427427 // Retrieving offset on disconnected/hidden elements is not officially
428428 // valid input, but will return zeros for back-compat
429429 // assert.equal( $( "#hidden" ).offset().top, 0, "Hidden elements do not subtract scroll" );
0 commit comments