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

Support @supports selector() #361

Open
Seirdy opened this issue Apr 14, 2022 · 0 comments
Open

Support @supports selector() #361

Seirdy opened this issue Apr 14, 2022 · 0 comments

Comments

@Seirdy
Copy link
Contributor

Seirdy commented Apr 14, 2022

The @supports at-rule now supports the selector() function as of CSS conditionals level 4.

Safari, Chromium, Edge, and Firefox have shipped support. The CSS validator and Nu validator fail to parse it.

Contrived test-case:

@supports selector(:focus) {
	code {
		display: inherit
	}
}

Real-world test-case: the <style> element for https://seirdy.one/

@Seirdy Seirdy changed the title Support @support selector() Support @supports selector() Apr 14, 2022
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

No branches or pull requests

1 participant