[csswg-drafts] corner-shape `angle` vs `bevel` (#12232)

jsnkuhn has just created a new issue for https://github.com/w3c/csswg-drafts:

== corner-shape `angle` vs `bevel` ==
![Image](https://github.com/user-attachments/assets/1883a975-fe11-47f1-9b48-bd8eab260728)

Seems like the name for this type of corner has gone back and forth from `bevel` to `angle` and now back to `bevel` over time but I can't find any actually public conversation about why these changes were made just that they were. So some thoughts:

- Potential the thinking is reuse bevel from SVG's `stroke-linejoin="bevel"`. Although I'm not entirely sure that the corner-shape use is the same as what stroke-linejoin is doing?

- Apparently in wood/medal working `bevel` is technically reserved for angles that cover the entire height or width of an object.

"A bevel refers to an angled cut that connects two parallel surfaces of a part."

The technically correct term for what we want here I guess is "chamfer". To be clear I'm not suggesting we use "chamfer" as a value. Don't think that most folks will know what it means (the default spell check doesn't seem to know what it is either). But it makes it clear that `bevel` is probably not the technically correct name for what that's worth.

source: https://www.madearia.com/blog/chamfer-vs-bevel/

- `angle` seems more straightforward to me. It's a word that everyone is already familiar with I'm not sure if bevel is as familiar to folks? 

- In my playing around with corner shape I've already accidentally written the word `angle` for the value a number of times and it's taken a bit for me to realize that was my mistake. In all honestly i've also misspelled it as `angel` a few times.

- with `angle` is will devs think they can use css <angle> values with it. As in: "where do I say I want a `42deg` angle" which is not how corner shape works.

@noamr 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12232 using your GitHub account


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

Received on Saturday, 24 May 2025 13:59:55 UTC