Skip to content

[css-color-5] Add missing groups in <light-dark-image> syntax#13718

Merged
svgeesus merged 1 commit intow3c:mainfrom
cdoublev:patch-15
Mar 25, 2026
Merged

[css-color-5] Add missing groups in <light-dark-image> syntax#13718
svgeesus merged 1 commit intow3c:mainfrom
cdoublev:patch-15

Conversation

@cdoublev
Copy link
Copy Markdown
Collaborator

Follow-up on 100146f.

https://un5n798jx6qx6j0rmf2verhh.julianrbryant.com/css-color-5/#typedef-light-dark-image

@yisibl, <image> | none must be grouped because <image> | none , <image> | none is equivalent to <image> | [ none , <image> ] | none.

Juxtaposition is stronger than the double ampersand, the double ampersand is stronger than the double bar, and the double bar is stronger than the bar.

https://un5n798jx6qx6j0rmf2verhh.julianrbryant.com/css-values-4/#component-combinators

@cdoublev cdoublev added the css-color-5 Color modification label Mar 25, 2026
@yisibl
Copy link
Copy Markdown
Contributor

yisibl commented Mar 25, 2026

Thanks for spotting that! I saw the [] inside the commented-out <!-- <pre class='prod'> section and assumed it was already there.

@svgeesus svgeesus merged commit c6f899a into w3c:main Mar 25, 2026
2 checks passed
@cdoublev cdoublev deleted the patch-15 branch March 25, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

css-color-5 Color modification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants