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

@kepstin:

> if you have border-width: 3px, 4px, 5px and then do border-style: none, the border style would be automatically expanded via repetition to border-style: none, none, none and all of the borders will be hidden. To me, this meets the compatibility requirement that border-style: none should hide all borders.


This is a really excellent point. Thus, we don't actually need a special rule for `border-style: none`, and there isn't a compelling reason to keep `none` out of a list of border styles. 

> Edit: I suppose dealing mixed none and hidden border styles does make resolving collapsed borders (on tables) more difficult.

Actually, I think we need to define how border-lists work in collapsing border tables, unless it is there and I just missed it. If two cells share a border, then what is in-to-out of one cell would be out-to-in for an adjacent cell. What if the adjacent cells have a different number of borders? Or does only the outermost border collapse? Should collapsing border tables even be allowed to have border lists? Or does CSS2 tables define things well enough to know what to do?


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


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

Received on Wednesday, 4 February 2026 17:07:40 UTC