Skip to content

CSS Corner-shape #229

Closed
Closed

Description

@jsnkuhn

WebKittens

No response

Title of the spec

CSS corner-shape

URL to the spec

https://drafts.csswg.org/css-borders-4/#corner-shaping

URL to the spec's repository

No response

Issue Tracker URL

No response

Explainer URL

https://github.com/noamr/explainers/blob/main/corner-shape-explainer.md

TAG Design Review URL

No response

Mozilla standards-positions issue URL

mozilla/standards-positions#823

WebKit Bugzilla URL

https://bugs.webkit.org/show_bug.cgi?id=277912

Radar URL

rdar://134147721

Description

corner-shape is essentially an extension of the idea of border-radius that would allow for other corner shapes. Right now the list includes round, angle and none but might in the future include notch, scoop, squircle, etc. These shapes would be combine-able . i.e. corner-shape: none angle round notch; and would use a border-radius like syntax for describing a corner-size including the existing slash notation.

A paintAPI demo of the general idea:
https://jsnkuhn.github.io/corner-shape/

Activity

  1. moved this from Unscreened to Needs assignees in Standards Positions Review Backlogon Aug 1, 2023
  2. smfr commented on Jul 29, 2024

    @smfr

    We think that corner-shape will be useful to allow for bevel, and superellipse (aka squircle), but we believe that more complex corner shapes are best handled with some future border-shape or element-shape property using the shape() function.

  3. self-assigned this
    on Aug 12, 2024
  4. marked CSS corner-shape #455 as a duplicate of this issue on Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions