Re: [csswg-drafts] [css-backgrounds-4] corner-shape naming (#6521)

Random thoughts mostly on naming:

- Reusing `border-radius` forces a round corner fallback and honestly I don't know if i'd ever really want that. the default rectangle corner shape seems like a better fallback for `angle` and `notch` to me. Maybe it's useful for `scoop`?

- for what it's worth I've personally settled on `--corner-shape` and `--corner-size` as property names in the PaintAPI polyfill I've been working on.

- `corners` should probably be `corner` because CSS properties are singular. 

- more and more been wondering if `corner-shape` should just be part of CSS-Shapes as a corner() function. Note that inset() already has an optional param for rounding ( `clip-path: inset(10px round 8px);`) that probably would need to be built on with the other corner-shape options. Feels at the moment that the rounding is hiding inside `inset()` and should just be broken out as its own thing.

This way `coner()` could be reused as part of something like `element-shape`, `clip-path`, `shape-inside/outside`, and to make a background/mask/border-image etc.?

-- 
GitHub Notification of comment by jsnkuhn
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6521#issuecomment-1181763184 using your GitHub account


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

Received on Tuesday, 12 July 2022 13:30:06 UTC