Skip to content

CSS Shapes: vertex rounding for polygon() #474

Open

Description

@jsnkuhn

WebKittens

No response

Title of the proposal

CSS shapes: vertex rounding for polygon()

URL to the spec

https://drafts.csswg.org/css-shapes/#supported-basic-shapes

URL to the spec's repository

No response

Issue Tracker URL

No response

Explainer URL

No response

TAG Design Review URL

No response

Mozilla standards-positions issue URL

mozilla/standards-positions#1197

WebKit Bugzilla URL

No response

Radar URL

No response

Description

There is a wide variety of use cases where authors want to clip or mask an element based on a shape that is basically a simple polygon plus rounding. Right now this is exceedingly complicated to do by hand (since you'd need to use path()), and practically impossible to do with the same flexibility of units that polygon() supports.

w3c/csswg-drafts#9843

Activity

  1. added
    topic: css
    on Apr 28, 2025
  2. smfr commented on Sep 3, 2025

    @smfr

    Seems OK but there's certainly some implementation complexity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

topic: cssvenue: W3C CSS WG

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions