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

Right, I think having the control points first makes more sense given relative positions (`by`) and it was a mistake to allow any order. It's confusing to go all the way to the end point and then jump to the control points.

I'm also fine with keeping by/to for every point. Something like this?
```css
clip-path: shape(from top left,
  hline by 100px,
  curve by 100px 50px / to right bottom,
  curve by 50px 50px / by 10% 20% / by var(--x) var(--y),
  curve by 50px 50px / by 10% 20% / to bottom 50%,
  smooth to bottom left / to 0 0,
)
```

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


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

Received on Monday, 5 August 2024 20:48:37 UTC