CARVIEW |
Select Language
HTTP/2 200
date: Wed, 08 Oct 2025 07:17:29 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/jquery/jquery.git
etag: W/"61b716b8d45f37f77d658828eebb625b"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=pZz%2FzDlBVw8GvdpuELVqFq%2BRaRqD%2FtprA8NO99MGWb3fisuGqs1kkmoak6ZMA1r4yex%2BZA3kcGw36u4nTEwG7TtqsTq4QXVLgZJdlB05ZcANy5hvHDLQeQ%2BRVXAq0Pim8znf1rZ6u47QqA6dIHeQuYeRNwWbL0uIT4d7OzHSdg3RsFnEEkDGyLHBPewe%2FDZx75x%2FO25jF7PJnADgRxFkK0AFA5yr5wCeLygHGUYoSWKHcCvuBJvS3x3tNzs%2B4ckmojGqfg%2FF9AViOgIgmOwn4w%3D%3D--eFjTNKwhqwl%2BnLGO--vtT49MGn%2FMFiLRiD2DNpEQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1498075330.1759907848; Path=/; Domain=github.com; Expires=Thu, 08 Oct 2026 07:17:28 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 08 Oct 2026 07:17:28 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E04C:3F8FD:1BE6ED:1ED3FA:68E61008
Selector: Make empty attribute selectors work in IE again · jquery/jquery@05184cc · GitHub
Copy file name to clipboard
Copy file name to clipboardExpand all lines: test/data/qunit-fixture.html
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 20.5k
Commit 05184cc
authored
Selector: Make empty attribute selectors work in IE again
qSA in IE 11/Edge often (but not always) don't find elements with an empty
name attribute selector (`[name=""]`). Detect that & fall back to Sizzle
traversal.
Interestingly, IE 10 & older don't seem to have the issue.
Fixes gh-4435
Closes gh-45101 parent d0ce00c commit 05184ccCopy full SHA for 05184cc
File tree
Expand file treeCollapse file tree
7 files changed
+39
-9
lines changedFilter options
- src
- selector
- var
- test
- data
- unit
Expand file treeCollapse file tree
7 files changed
+39
-9
lines changedCollapse file: src/selector.js
+1-3Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
| |||
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 | 45 |
| |
48 | 46 |
| |
49 | 47 |
| |
|
Collapse file: src/selector/rbuggyQSA.js
+15-1Lines changed: 15 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
3 | 4 |
| |
4 | 5 |
| |
5 |
| - | |
| 6 | + | |
| 7 | + | |
6 | 8 |
| |
7 | 9 |
| |
8 | 10 |
| |
| |||
19 | 21 |
| |
20 | 22 |
| |
21 | 23 |
| |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
22 | 36 |
| |
23 | 37 |
| |
24 | 38 |
|
Collapse file: src/selector/var/whitespace.js
src/selector/var/whitespace.js
Copy file name to clipboard+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + |
Collapse file: test/data/qunit-fixture.html
test/data/qunit-fixture.html
Copy file name to clipboardExpand all lines: test/data/qunit-fixture.html+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
116 | 116 |
| |
117 | 117 |
| |
118 | 118 |
| |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
119 | 124 |
| |
120 | 125 |
| |
121 | 126 |
| |
|
Collapse file: test/data/qunit-fixture.js
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file: test/unit/attributes.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1255 | 1255 |
| |
1256 | 1256 |
| |
1257 | 1257 |
| |
1258 |
| - | |
| 1258 | + | |
1259 | 1259 |
| |
1260 | 1260 |
| |
1261 | 1261 |
| |
| |||
1330 | 1330 |
| |
1331 | 1331 |
| |
1332 | 1332 |
| |
1333 |
| - | |
| 1333 | + | |
1334 | 1334 |
| |
1335 | 1335 |
| |
1336 | 1336 |
| |
|
Collapse file: test/unit/selector.js
+13-2Lines changed: 13 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
720 | 720 |
| |
721 | 721 |
| |
722 | 722 |
| |
723 |
| - | |
| 723 | + | |
724 | 724 |
| |
725 | 725 |
| |
726 | 726 |
| |
| |||
750 | 750 |
| |
751 | 751 |
| |
752 | 752 |
| |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
753 | 764 |
| |
754 | 765 |
| |
755 | 766 |
| |
| |||
1257 | 1268 |
| |
1258 | 1269 |
| |
1259 | 1270 |
| |
1260 |
| - | |
| 1271 | + | |
1261 | 1272 |
| |
1262 | 1273 |
| |
1263 | 1274 |
| |
|
You can’t perform that action at this time.
0 commit comments