Skip to content

[css-borders-4] Define border/shadow rendering for corner-shape #12175

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

noamr
Copy link
Collaborator

@noamr noamr commented May 8, 2025

Based on this resolution

  • Borders are rendered perpendicular to the outer curve, clamped at corner-shape -1 or 1.
  • Shadows are rendered like a scaled version of the original shape, converting the shadow spread to a scale.

Added detailed algorithms, explanation, and a chart.

Closes #11610
Closes #11767

@noamr noamr requested review from smfr and tabatkins May 8, 2025 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant