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.

3.x-stable version: #5226

Checklist

@mgol mgol added this to the 4.0.0 milestone Mar 15, 2023
@mgol mgol self-assigned this Mar 15, 2023
@mgol mgol force-pushed the chrome-cssHas-support branch from ee76177 to 3d8a2e6 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
@timmywil timmywil removed the Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. label Mar 27, 2023
@mgol mgol force-pushed the chrome-cssHas-support branch from 3d8a2e6 to 3ab45df Compare March 27, 2023 19:51
@mgol mgol removed the Needs review label 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 Tests: Indicate Chrome 112 & Safari 16.4 pass the cssHas support test 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-5225
@mgol mgol force-pushed the chrome-cssHas-support branch from 3ab45df to a8b0b3e 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.

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-5225
@mgol mgol force-pushed the chrome-cssHas-support branch from a8b0b3e to 449c046 Compare April 4, 2023 22:12
@mgol mgol merged commit 6d6ff11 into jquery:main Apr 4, 2023
@mgol mgol deleted the chrome-cssHas-support branch April 4, 2023 22:25
mgol added a commit 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 gh-5225
@mgol
Copy link
Member Author

mgol commented Apr 4, 2023

Landed on main in 89ef81f.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 25, 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