Re: [csswg-drafts] [css-shapes] Find a way to create a polygon with rounded-corners and non-absolute coordinates (#5674)

Thoroughly agree with this. The lack of units is just about manageable, but the inability to use `var()` is a real issue for anything complex. We should allow a path to be concatenated into one string from all the arguments supplied to the `path()` function. For example:
* `path("M 100 100 " var(--outerpath) var(--innerpath))`
* `path("M 100 100 A 100 100 0 0 0 " calc(foo * sin(var(--a))) calc(foo * cos(var(--a))))`

I'm presuming spaces are inserted between the tokens, and that numbers are stringified before concatenation. Even if units aren't allowed, this would go a very long way to making it more usable.

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


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

Received on Thursday, 29 October 2020 08:57:28 UTC