W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2020

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

From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
Date: Wed, 28 Oct 2020 14:29:37 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-731496392-1603895376-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:21 UTC