Skip to content

Conversation

silverwind
Copy link

@silverwind silverwind commented Aug 1, 2025

The comma syntax was only supported as part of the clip property which is replaced in this example. Per MDN:

Note: The rect() function used in the deprecated clip property is different from the CSS rect() function used to define a CSS .


Which issue, if any, is this issue related to?

None, as it's a documentation fix.

Is there anything in the PR that needs further explanation?

No, it's self-explanatory.

The `rect` function does not accept commas between values:

https://developer.mozilla.org/en-US/docs/Web/CSS/basic-shape/rect

The comma syntax was only supported as part of the `clip` property which is replaced in this example.
Copy link

changeset-bot bot commented Aug 1, 2025

⚠️ No Changeset found

Latest commit: a464feb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@silverwind
Copy link
Author

Same fix is included in #8699, so closing.

@silverwind silverwind closed this Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant