diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-06-25 14:46:45 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-06-25 14:46:45 -0400 |
commit | 0e550f16bbaf28e991f6236f367c22727bef2bf3 (patch) | |
tree | 3e32b4f6b83040d16b60d5eac7048cdf211248f1 /tests/unit/core | |
parent | f612a41b18aa9aced54cfe7a42dd4aa7728027e1 (diff) | |
download | jquery-ui-0e550f16bbaf28e991f6236f367c22727bef2bf3.tar.gz jquery-ui-0e550f16bbaf28e991f6236f367c22727bef2bf3.zip |
Core tests: Updated support comments.
Diffstat (limited to 'tests/unit/core')
-rw-r--r-- | tests/unit/core/core.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/unit/core/core.js b/tests/unit/core/core.js index a77e618aa..b3020179d 100644 --- a/tests/unit/core/core.js +++ b/tests/unit/core/core.js @@ -156,12 +156,16 @@ test( "outerHeight(true) - setter", function() { test( "uniqueId / removeUniqueId", function() { var el = $( "img" ).eq( 0 ); - // TODO use equal(id, undefined) when dropping jQuery 1.6 support (or IE6/7) + // support: jQuery <1.6.2 + // support: IE <8 + // We should use equal( id, undefined ) when dropping jQuery 1.6.1 support (or IE6/7) ok( !el.attr( "id" ), "element has no initial id" ); el.uniqueId(); ok( /ui-id-\d+$/.test( el.attr( "id" ) ), "element has generated id" ); el.removeUniqueId(); - // TODO see above + // support: jQuery <1.6.2 + // support: IE <8 + // see above ok( !el.attr( "id" ), "unique id has been removed from element" ); }); |