Skip to content

[prefers-color-scheme] add browser tests #444

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

Closed
Tracked by #455
romainmenke opened this issue Jun 11, 2022 · 1 comment
Closed
Tracked by #455

[prefers-color-scheme] add browser tests #444

romainmenke opened this issue Jun 11, 2022 · 1 comment

Comments

@romainmenke
Copy link
Member

No description provided.

@romainmenke romainmenke added this to the PostCSS Preset Env v8 milestone Jun 11, 2022
@romainmenke romainmenke changed the title add browser tests [prefers-color-scheme] add browser tests Jun 11, 2022
@romainmenke romainmenke self-assigned this Jun 11, 2022
@romainmenke romainmenke moved this from Todo to In Progress in PostCSS Preset Env Jun 11, 2022
@romainmenke
Copy link
Member Author

romainmenke commented Jun 11, 2022

These tests are minimal but cover these cases :

  • native :
    • no preference (e.g. light)
    • light
    • dark
  • polyfill :
    • no preference (e.g. light)
    • light
    • dark
  • polyfill after toggle :
    • no preference (e.g. light)
    • light
    • dark

https://github.com/csstools/postcss-plugins/blob/prefers-color-scheme--compassionate-alpine-dachsbracke-f5f77b6255/plugins/css-prefers-color-scheme/test/_browser.html

@romainmenke romainmenke moved this from In Progress to Done in PostCSS Preset Env Jun 13, 2022
Repository owner moved this from Done to To be released in PostCSS Preset Env Jun 13, 2022
@romainmenke romainmenke moved this from To be released to Done in PostCSS Preset Env Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

1 participant