Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8989500

Browse files
committed
Selector: Update Sizzle from 2.3.8 to 2.3.9
Fixesgh-5177Refgh-5178Refjquery/sizzle#491
1 parent2c5b47c commit8989500

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

‎external/sizzle/dist/sizzle.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*!
2-
* Sizzle CSS Selector Engine v2.3.8
2+
* Sizzle CSS Selector Engine v2.3.9
33
* https://sizzlejs.com/
44
*
55
* Copyright JS Foundation and other contributors
66
* Released under the MIT license
77
* https://js.foundation/
88
*
9-
* Date: 2022-11-16
9+
* Date: 2022-12-19
1010
*/
1111
(function(window){
1212
vari,
@@ -367,7 +367,7 @@ function Sizzle( selector, context, results, seed ) {
367367
if(support.cssSupportsSelector&&
368368

369369
// eslint-disable-next-line no-undef
370-
!CSS.supports("selector("+newSelector+")")){
370+
!CSS.supports("selector(:is("+newSelector+"))")){
371371

372372
// Support: IE 11+
373373
// Throw to get to the same code path as an error directly in qSA.
@@ -969,9 +969,8 @@ setDocument = Sizzle.setDocument = function( node ) {
969969
// `:has()` uses a forgiving selector list as an argument so our regular
970970
// `try-catch` mechanism fails to catch `:has()` with arguments not supported
971971
// natively like `:has(:contains("Foo"))`. Where supported & spec-compliant,
972-
// we now use `CSS.supports("selector(SELECTOR_TO_BE_TESTED)")` but outside
973-
// that, let's mark `:has` as buggy to always use jQuery traversal for
974-
// `:has()`.
972+
// we now use `CSS.supports("selector(:is(SELECTOR_TO_BE_TESTED))")`, but
973+
// outside that we mark `:has` as buggy.
975974
rbuggyQSA.push(":has");
976975
}
977976

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp