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

> Yeah, that looks pretty good, imo. So `from start`/`from end` would be relative positions; does that mean that omitting the coord would be absolute by default? Or do we still want to implicitly match the endpoint's relative mode when omitted, and have something like `from origin` to indicate absolute-ness?
> 
> That is, `curve by 20px 20px with 10px 10px / 15px 15px` would make both of the control points implicitly `from start`, while `curve to 20px 20px with 10px 10px / 15px 15px` would make them implicitly `from origin`?
> 
> I do prefer that second one; I think having everything using the same coord system is _usually_ what you want, so it should be the easiest thing to say.

Yea I think that `from start` / `from origin` allows you to change the coordinate affinity, but the default retains the initial affinity. I did think though that by default `by` would imply "from last point provided", but perhaps `from start` makes more sense as a default.

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


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

Received on Tuesday, 1 October 2024 21:40:46 UTC