Re: [csswg-drafts] [css-shapes-2] `curve to` keyword `using` seems a bit off (#10649)

> Could you type out some examples of the various absolute/relative versions? I think this matches what I suggested at [#10644 (comment)](https://github.com/w3c/csswg-drafts/issues/10644#issuecomment-2375464531)
test_computed_value("clip-path", "shape(from 20px 40px, curve by 20px 20px using 10px 30px)");
test_computed_value("clip-path", "shape(from 20px 40px, curve by 20px 20px using 10px 30px 12px 32px)");

test_computed_value("clip-path", "shape(from 20px 40px, smooth by 20px 20px)");
test_computed_value("clip-path", "shape(from 20px 40px, smooth by 20px 20px using 12px 32px)");

A few examples, I think they look alright:
```css
shape(
  from 10px 50%,
  curve by 20px 20px with 10px 30px,
  curve by 20% 30% with 10% 10% / 50px 1rem,
  curve to 100% 100% with 20px 30px from start,
  curve by 20px -15px with 50% 50% from origin / 30px 30px,
  smooth curve to 50% calc(30px + 10%) with 15x 15px from start,
  smooth curve by 100px 10vh
)```


-- 
GitHub Notification of comment by noamr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10649#issuecomment-2388621595 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 2 October 2024 13:16:43 UTC