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

Proposal:

1. If only one border has a `hidden` border-style, it has more specificity (end).
2. If only one border has a `none` border-style, it has less specificity (end).
3. If both border have a `hidden` border-style, or both have a `none` border-style, they have the same specificity (end).
4. If a border has a bigger 'total border width', it has more specificity (end). The 'total border width' is the sum of widths in border-width
4. Otherwise, let `i` be 1, and loop:
     1. Compare the i-th border-style of both borders. If one comes earlier in the following list, it has more specificity (end):
            `double, solid, dashed, dotted, ridge, outset, groove, inset`
     2. If this was the last border-style for only one of the borders, it has less specificity (end).
     3. Increase `i` by 1.

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


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

Received on Friday, 30 January 2026 15:04:40 UTC