- From: Brad Kemper via GitHub <noreply@w3.org>
- Date: Tue, 30 Dec 2025 19:56:49 +0000
- To: public-css-archive@w3.org
> For compat, border-width: 1px must continue to specify the total width. This is a non-negotiable requirement, as a lot of existing content depends on a box model with certain dimensions. I mean, there's no comparison issue, because that existing content doesn't have multiple borders. If I'm restyling existing content (as I often do) I might be changing border-width anyway. Usually the content isn't so fragile that it would break from that, but if I'm changing the styles I'm also testing extensively. I have a hard time imagining someone deciding to change from a single border to multiple borders without making the overall total border thickness wider. But if they wanted to keep the existing width (a niche case IMO), they can still do so by using basic arithmetic: ```` /* border-width set elsewhere to 1px */ border-color: black, yellow; border-width: .5px, .5px; ```` IMO, this is by far the most ergonomic solution to both the common cases and the edge cases. -- GitHub Notification of comment by bradkemper Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13044#issuecomment-3700333563 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 30 December 2025 19:56:50 UTC