Skip to content

43558 light dark images#29429

Open
dletorey wants to merge 12 commits intomdn:mainfrom
dletorey:43558-light-dark-images
Open

43558 light dark images#29429
dletorey wants to merge 12 commits intomdn:mainfrom
dletorey:43558-light-dark-images

Conversation

@dletorey
Copy link
Copy Markdown
Contributor

@dletorey dletorey commented Apr 8, 2026

Summary

  • Added accepts <image> for light-dark() color function

Test results and supporting details

Tested using these codepens:

Passes
  • Firefox Beta 150
  • Firefox Developer Edition 150
  • Firefox Nightly 151
With flag set
  • Chrome Canary 148
  • Chrome Developer 148
  • Edge Canary 148
  • Edge Dev 148
Fails
  • Firefox 149
  • Chrome Beta 147
  • Edge Beta 147
  • Opera Developer 147
  • Safari Technology Preview 240
  • Safari 26.4

Related issues

@github-actions github-actions bot added data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:m [PR only] 25-100 LoC changed labels Apr 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

Comment on lines +939 to +941
"image": {
"__compat": {
"description": "`light-dark()` accepts `<image>` values based on the used color scheme.",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about keeping the desc shorter like we have on other property pages

Suggested change
"image": {
"__compat": {
"description": "`light-dark()` accepts `<image>` values based on the used color scheme.",
"image_value": {
"__compat": {
"description": "`<image>` values",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:m [PR only] 25-100 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants