From 8537a740cdbf0eec8fea0fe3faf44d80e9c68773 Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Wed, 17 Aug 2011 17:06:21 -0400 Subject: [PATCH] Landing pull request 467. Adds comments regarding opacity test adjustments. More Details: - https://github.com/jquery/jquery/pull/467 --- test/unit/effects.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/unit/effects.js b/test/unit/effects.js index 6ff1ce5c3..3afc37f69 100644 --- a/test/unit/effects.js +++ b/test/unit/effects.js @@ -772,10 +772,12 @@ jQuery.each( { f_o = f( elem, "opacity" ); } + // The only time an _empty_string_ will be matched is in IE + // otherwise, the correct values will be tested as usual if ( f_o === "" ) { f_o = 1; } - + // See above if ( cur_o === "" ) { cur_o = 1; } -- 2.39.5