aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/selector.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2025-02-24 18:27:30 +0100
committerGitHub <noreply@github.com>2025-02-24 18:27:30 +0100
commite2fe97b7f15cf5ee2e44566b381f7bf214e491b1 (patch)
treeb49830d562f84fee5b887e87e8864b24bedf1e05 /test/unit/selector.js
parent7c123dec4b96e7c3ce5f5a78e828c8aa335bea98 (diff)
downloadjquery-e2fe97b7f15cf5ee2e44566b381f7bf214e491b1.tar.gz
jquery-e2fe97b7f15cf5ee2e44566b381f7bf214e491b1.zip
Core: Remove obsolete workarounds, update support comments
Closes gh-5625
Diffstat (limited to 'test/unit/selector.js')
-rw-r--r--test/unit/selector.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/selector.js b/test/unit/selector.js
index 5fecfae94..062bad02b 100644
--- a/test/unit/selector.js
+++ b/test/unit/selector.js
@@ -858,7 +858,7 @@ QUnit.test( "pseudo - nth-child", function( assert ) {
);
} else {
- // Support: Chrome 75+, Firefox 67+
+ // Support: Chrome 75 - 133+, Firefox 67 - 135+
// Some browsers mark disconnected elements as matching `:nth-child(n)`
// so let's skip the test.
assert.ok( "skip", "disconnected elements match ':nth-child(n)' in Chrome/Firefox" );
@@ -912,7 +912,7 @@ QUnit.test( "pseudo - nth-last-child", function( assert ) {
);
} else {
- // Support: Chrome 75+, Firefox 67+
+ // Support: Chrome 75 - 133+, Firefox 67 - 135+
// Some browsers mark disconnected elements as matching `:nth-last-child(n)`
// so let's skip the test.
assert.ok( "skip", "disconnected elements match ':nth-last-child(n)' in Chrome/Firefox" );
@@ -954,7 +954,7 @@ QUnit[ QUnit.jQuerySelectors ? "test" : "skip" ]( "pseudo - has", function( asse
"div:has(div:has(div:not([id])))",
[ "moretests", "t2037", "fx-test-group", "fx-queue" ] );
- // Support: Safari 15.4+, Chrome 105+
+ // Support: Chrome 105 - 111 only, Safari 15.4 - 16.3 only
// `qSA` in Safari/Chrome throws for `:has()` with only unsupported arguments
// but if you add a supported arg to the list, it will run and just potentially
// return no results. Make sure this is accounted for. (gh-5098)