- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Mon, 02 Sep 2024 09:16:54 +0000
- To: public-css-archive@w3.org
> > Let’s please not use `border-radius` as design precedent, it’s one of the recognized mistakes in the design of CSS: [wiki.csswg.org/ideas/mistakes](https://wiki.csswg.org/ideas/mistakes) > > The link said that we should have named it `corner-radius`. That makes sense because the radius itself applies to the corners and not to the whole border, but I don't see how it's a "mistake in design", or something that applies here? The path in this case does affect the whole border and not just the corners. That is not the reason it's a mistake. It’s a mistake because it affects the element shape **whether there is a border or not**. Naming it `border-radius` was unduly influenced by its specification details (the fact that it rounds the border box) but as far as authors are concerned, that's almost an implementation detail. -- GitHub Notification of comment by LeaVerou Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6997#issuecomment-2324235832 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 2 September 2024 09:16:56 UTC