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
light-dark() CSS function supported by Opera 109, Edge 123 and Safari 17.5 (Beta) #22778
Comments
Thanks for raising this. I've moved it into the BCD repo which is the right place to track this data. This was introduced here: And updated here: I think the fix might be to remove the Compat table: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/light-dark#browser_compatibility |
Thanks! I just realised it’s also supported by Safari 17.5 Beta. I updated the title and the description. |
This is not the case, the data from mirrored browsers is not updated yet. Here's the light-dark entry: browser-compat-data/css/types/color.json Lines 801 to 839 in ba6f18f
And even though this was added in 109, Opera (desktop) versions in this repo are listed up to 108: |
What about Safari? 17.5 seems to be already there. Is it just missing "version_added" for the light-dark entry? |
Safari 17.5 data is being updated in this PR: #22765 |
Safari 17.5 and Edge 123 are now showing as supported. The only one missing is Opera 109, but the browser was already added to the list (updated today): I will check again tomorrow and close the ticket if it shows as supported. Update: MDN page is still showing light-dark() CSS function as not supported on Opera 109. |
MDN is now showing correctly the light-dark support. |
MDN URL
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/light-dark
What specific section or headline is this issue about?
Browser support for light-dark() function
What information was incorrect, unhelpful, or incomplete?
Browser support is incorrect. The page says light-dark is not supported by Opera 109, Edge 123, and Safari 17.5 (beta) when all support it (support added on Chromium 123).
What did you expect to see?
light-dark() should show as supported by Opera, Edge, and Safari (beta).
Do you have any supporting links, references, or citations?
I tested the MDN page on Opera 109 and Edge 123 and both work. I couldn’t test on Safari 17.5 beta, but the support is mentioned on their release notes:
https://developer.apple.com/documentation/safari-release-notes/safari-17_5-release-notes
Opera 109:
109.0.5097.38 – 2024-04-02 blog post
Edge 123:
Safari 17.5 (Beta):
I didn’t test it, but it’s on the release notes:
https://developer.apple.com/documentation/safari-release-notes/safari-17_5-release-notes
Do you have anything more you want to share?
No response
The text was updated successfully, but these errors were encountered: