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

noamr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-shapes] Find a way to create a polygon with rounded-corners and non-absolute coordinates ==
Currently, when using shapes in e.g. `clip-path`, some features are only allowed in polygon, and some only in path.

- Polygon: CSS custom properties as coordinates, relative or other non-pixel units
- Path: Rounded corners with quadratic/bezier curves

So it's currently impossible to create a non-rect polygon that has both rounded corners and relative (or em) coordinates, or custom properties, for example a speech bubble with an arrow.

I suggest one of the following:
- Allow some form of radius in `polygon()` (easier)
- Allow resolving of non-pixel units in `path()` (more powerful)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5674 using your GitHub account


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

Received on Wednesday, 28 October 2020 14:29:39 UTC