Re: [csswg-drafts] [css-borders] Allow multiple borders by listifying them (#13044)

> If `border-width` is the thing that determines list length, as I think it should

It we listify borders, I think the coordinating property should be `border-*-style`. Then the grammar could be

```
none | hidden | [dotted | dashed | solid | double | groove | ridge | inset | outset]#
```

And this would explain why `none` and `hidden` result in no border even if you set some border width.

If the coordinating property is the width, then presumably this means that `none` and `hidden` can appear in a list of border styles. And then just make the matching width be zero? Then if there is a way to specify the total width it needs to happen afterwards. Things just seem trickier and less intuitive IMO.

> as it doesn't have the compat issue I described

I disagree it's a compat issue.

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


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

Received on Tuesday, 6 January 2026 21:24:33 UTC