Skip to content
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

[css-shapes-1] XYWH rounding should be calculated against inner box, not outer #11401

Open
cofenster-michal opened this issue Dec 20, 2024 · 0 comments

Comments

@cofenster-michal
Copy link

The optional <<'border-radius'>> argument(s)

The optional <<'border-radius'>> argument(s)
define rounded corners for the inset rectangle
using the 'border-radius' shorthand syntax.

It's not specified and I believe it should whether border-radius percentage values should be calculated based on inset rectangle or its outer box.

#example {
  width: 100px;
  height: 300px;
  background: red;
  clip-path: xywh(0% 0% 100% 33.3% round 50%)
}

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant