Skip to content

Conversation

@cdoublev
Copy link
Collaborator

... as currently specified in prose:

3rd <length [0,∞]>

Specifies the blur radius. Negative values are invalid.

... but the current syntax allows 1px 1px -1px to match:

<shadow> = <color>? && [<length>{2} <length [0,∞]>? <length>?] && inset?

... while this is invalid in mainstream browsers.

@cdoublev cdoublev added the css-backgrounds-3 Current Work label Sep 10, 2025
@SebastianZ
Copy link
Contributor

The changed syntax is also what we already have in CSS Borders 4. So once the little syntax adjustment is done, I'm fine with it.

Sebastian

@SebastianZ SebastianZ merged commit a8aa8df into w3c:main Sep 12, 2025
1 check passed
@SebastianZ
Copy link
Contributor

Thanks @cdoublev!

@SebastianZ
Copy link
Contributor

I've also added a note about this change to the Changes section.

Sebastian

@cdoublev cdoublev deleted the patch-6 branch September 12, 2025 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

css-backgrounds-3 Current Work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants