diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2016-02-25 01:18:55 +0100 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2016-03-08 23:26:46 +0100 |
commit | 9b086888b803db872e8906cbdbf0de458231f225 (patch) | |
tree | 084539db8297eae7f97f82ffe0da2d318f81251f /test/unit/basic.js | |
parent | b43a3685b60b307d61f41f0c94412380ed46ab22 (diff) | |
download | jquery-9b086888b803db872e8906cbdbf0de458231f225.tar.gz jquery-9b086888b803db872e8906cbdbf0de458231f225.zip |
Docs:Tests: Remove obsolete code from tests, update support comments
Support comments that were lacking the final IE/Edge version that exhibits
the bug were checked & updated. Links to the Chromium bug tracker were updated.
Code in tests related to unsupported browsers (like Android 2.3 in non-basic
tests) has been removed.
Fixes gh-2868
Closes gh-2949
Diffstat (limited to 'test/unit/basic.js')
-rw-r--r-- | test/unit/basic.js | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/test/unit/basic.js b/test/unit/basic.js index 8a3d19ae6..5a2f5abc2 100644 --- a/test/unit/basic.js +++ b/test/unit/basic.js @@ -187,10 +187,7 @@ QUnit.test( "manipulation", function( assert ) { assert.strictEqual( elem1.text( "foo" ).text(), "foo", ".html getter/setter" ); assert.strictEqual( - - // Support: IE 8 only - // IE 8 prints tag names in upper case. - elem1.html( "<span/>" ).html().toLowerCase(), + elem1.html( "<span/>" ).html(), "<span></span>", ".html getter/setter" ); @@ -203,10 +200,7 @@ QUnit.test( "manipulation", function( assert ) { child.before( "<b/>" ); assert.strictEqual( - - // Support: IE 8 only - // IE 8 prints tag names in upper case. - elem1.html().toLowerCase(), + elem1.html(), "<div></div><b></b><span></span><a></a>", ".after/.before" ); @@ -275,10 +269,7 @@ QUnit.test( "wrap", function( assert ) { elem.find( "b" ).wrap( "<span>" ); assert.strictEqual( - - // Support: IE 8 only - // IE 8 prints tag names in upper case. - elem.html().toLowerCase(), + elem.html(), "<a><span><b></b></span></a><a></a>", ".wrap" ); @@ -286,10 +277,7 @@ QUnit.test( "wrap", function( assert ) { elem.find( "span" ).wrapInner( "<em>" ); assert.strictEqual( - - // Support: IE 8 only - // IE 8 prints tag names in upper case. - elem.html().toLowerCase(), + elem.html(), "<a><span><em><b></b></em></span></a><a></a>", ".wrapInner" ); @@ -297,10 +285,7 @@ QUnit.test( "wrap", function( assert ) { elem.find( "a" ).wrapAll( "<i>" ); assert.strictEqual( - - // Support: IE 8 only - // IE 8 prints tag names in upper case. - elem.html().toLowerCase(), + elem.html(), "<i><a><span><em><b></b></em></span></a><a></a></i>", ".wrapAll" ); |