diff --git a/test/unit/selector.js b/test/unit/selector.js
index 874692eaa..80a2797fd 100644
--- a/test/unit/selector.js
+++ b/test/unit/selector.js
@@ -431,7 +431,11 @@ QUnit.test( "comma-separated", function( assert ) {
assert.equal( fixture.find( "h2\t,\rdiv p" ).filter( "h2" ).length, 1, "has to find one
" );
} );
-QUnit.test( "comma-separated, only supported natively (gh-5177)", function( assert ) {
+// Support: IE 9 only
+// IE 9 doesn't support the `:valid` pseudo natively; skip the test there.
+QUnit[
+ /msie 9\.0/i.test( window.navigator.userAgent ) ? "skip" : "test"
+]( "comma-separated, only supported natively (gh-5177)", function( assert ) {
assert.expect( 5 );
var fixture = jQuery( "
" );