[csswg-drafts] [css-borders][css-tables] Define how listified borders collapse (#13410)

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

== [css-borders][css-tables] Define how listified borders collapse ==
#13044 listifies borders. Then CSS tables needs to take that into account in https://drafts.csswg.org/css-tables/#border-specificity

>Given two borders styles, the border style having the most specificity is the border style which…
>
> 1.  … has the value "hidden" as [border-style](https://www.w3.org/TR/css-borders-4/#propdef-border-style), if only one does
> 1.    … has the biggest [border-width](https://www.w3.org/TR/css-borders-4/#propdef-border-width), once converted into css pixels
> 1.    … has the [border-style](https://www.w3.org/TR/css-borders-4/#propdef-border-style) which comes first in the following list:
>                
>           double, solid, dashed, dotted, ridge, outset, groove, inset, none

The length of the border list is something that we might want to compare.

For lists of same length, I guess we compare border styles [lexicographically](https://en.wikipedia.org/wiki/Lexicographic_order) using the order above.

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


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

Received on Thursday, 29 January 2026 00:40:38 UTC