- From: jsnkuhn via GitHub <sysbot+gh@w3.org>
- Date: Thu, 06 Apr 2023 00:52:52 +0000
- To: public-css-archive@w3.org
jsnkuhn has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-shapes] limitations of corner shape == A recent article by Dan Wilson about using trig functions with CSS shapes notes 4 limitations of css-shapes/clip-paths that might be useful to look at for further versions of the spec: https://danielcwilson.com/posts/css-shapes-with-trig-functions/ > 1. You can only use one shape function (a list of clip path functions to be combined is not supported by the property) > 2. An ellipse can only be vertical or horizontal (no diagonal ellipses or rotations) > 3. You cannot easily create shapes with curves (except for the single circle, single ellipse, or a single rounded rectangle) > 4. To build arbitrary polygons, a non-trivial amount of JavaScript or other calculations might be necessary to end up with properly mapped coordinates https://drafts.csswg.org/css-shapes/ Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8691 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 6 April 2023 00:52:54 UTC