Re: [csswg-drafts] [css-shapes-2] Consider allowing `<position>` for the `from` and some other points (#10644)

Considering also #10649 , one option is to not use a keyword for this at all, and to change the curve/smooth syntax to give all the points, with an option to switch from `by` to `to` in the middle (but not the opposite):

```css
clip-path: shape(from top left,
  hline by 100px,
  curve by 100px 50px to right bottom,
  curve by 50px 50px 10% 20% var(--x) var(--y),
  smooth to bottom left 0 0,
)
```

It's probably nonsensical/confusing to give an absolute position as a control point and *then* continue to a relative one for the next control point or end point.

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


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

Received on Wednesday, 31 July 2024 17:37:36 UTC