Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect CSS selectors #877

Merged
merged 4 commits into from
Nov 26, 2023
Merged

Collect CSS selectors #877

merged 4 commits into from
Nov 26, 2023

Conversation

Elchi3
Copy link
Member

@Elchi3 Elchi3 commented Nov 24, 2023

Attempt to fix #828

Running this against Safari 17.2 beta spits out 3 new selectors that look legit and that should be marked supported in BCD:

  • css/selectors/fullscreen.json
  • css/selectors/highlight.json
  • css/selectors/picture-in-picture.json
  • and it also finds has() support in Firefox 121.

I know that testing support using the CSS.supports('selector(FOO)'); syntax has not been supported since the start, but I think this still gets us somewhere. https://developer.mozilla.org/en-US/docs/Web/CSS/@supports#browser_compatibility

test-builder/css.ts Fixed Show fixed Hide fixed
test-builder/css.ts Fixed Show resolved Hide resolved
custom/tests.yaml Outdated Show resolved Hide resolved
test-builder/css.ts Fixed Show resolved Hide resolved
@queengooborg queengooborg merged commit 4f57716 into main Nov 26, 2023
4 checks passed
@queengooborg queengooborg deleted the css-selectors branch November 26, 2023 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support to detect :dir()
2 participants