Skip to content

Conversation

@mgol
Copy link
Member

@mgol mgol commented Mar 15, 2023

Summary

Chrome 112 & Safari 16.4 introduce two changes:

  • :has() is non-forgiving
  • CSS.supports( "selector(...)" ) parses everything in a non-forgiving way

We no longer care about the latter but the former means the cssHas support test now passes.

main version: #5225

Checklist

@mgol mgol added this to the 3.7.0 milestone Mar 15, 2023
@mgol mgol self-assigned this Mar 15, 2023
@mgol mgol changed the title Tests: Indicate Chrome 112 passes the cssHas support test Tests: Indicate Chrome 112 passes the cssHas support test (3.x version) Mar 15, 2023
@mgol mgol force-pushed the 3.x-chrome-cssHas-support branch from a06cce8 to 74e0734 Compare March 15, 2023 17:10
@mgol mgol added the Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. label Mar 20, 2023
@mgol mgol requested a review from timmywil March 20, 2023 23:43
@mgol mgol force-pushed the 3.x-chrome-cssHas-support branch from 74e0734 to 0c59578 Compare March 27, 2023 19:51
@mgol mgol removed Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. Needs review labels Mar 27, 2023
@mgol
Copy link
Member Author

mgol commented Mar 27, 2023

I'll wait with merging this until Chrome 112 stable gets released to make sure relevant Chrome changes stay enabled on the stable channel.

@mgol
Copy link
Member Author

mgol commented Apr 4, 2023

Chrome 112 is out and it passes the test so I'm merging the PR.

@mgol mgol changed the title Tests: Indicate Chrome 112 passes the cssHas support test (3.x version) Tests: Indicate Chrome 112 & Safari 16.4 pass the cssHas support test (3.x version) Apr 4, 2023
mgol added a commit to mgol/jquery that referenced this pull request Apr 4, 2023
Chrome 112 & Safari 16.4 introduce two changes:
* `:has()` is non-forgiving
* `CSS.supports( "selector(...)" )` parses everything in a non-forgiving way

We no longer care about the latter but the former means the `cssHas` support
test now passes.

Closes jquerygh-5226
@mgol mgol force-pushed the 3.x-chrome-cssHas-support branch from 0c59578 to 636dcf6 Compare April 4, 2023 22:09
@mgol
Copy link
Member Author

mgol commented Apr 4, 2023

I also added updates for Safari: version 16.4 now passes the cssHas support test.

mgol added a commit to mgol/jquery that referenced this pull request Apr 4, 2023
Chrome 112 & Safari 16.4 introduce two changes:
* `:has()` is non-forgiving
* `CSS.supports( "selector(...)" )` parses everything in a non-forgiving way

We no longer care about the latter but the former means the `cssHas` support
test now passes.

Closes jquerygh-5226
@mgol mgol force-pushed the 3.x-chrome-cssHas-support branch from 636dcf6 to 00b87e9 Compare April 4, 2023 22:12
Chrome 112 & Safari 16.4 introduce two changes:
* `:has()` is non-forgiving
* `CSS.supports( "selector(...)" )` parses everything in a non-forgiving way

We no longer care about the latter but the former means the `cssHas` support
test now passes.

Closes jquerygh-5226
@mgol mgol force-pushed the 3.x-chrome-cssHas-support branch from 00b87e9 to 1f60397 Compare April 4, 2023 22:35
@mgol mgol merged commit 1a4d87a into jquery:3.x-stable Apr 4, 2023
@mgol mgol deleted the 3.x-chrome-cssHas-support branch April 4, 2023 22:44
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

2 participants