Re: [csswg-drafts] [css-borders] allow multiple borders (#13044)

@kepstin what I'm suggesting is that multiple borders should follow the exact same rules for lists of values as what we currently have for multiple backgrounds. 

I'm pretty sure that with that, if one of the longhand properties has more things in its list that another longhand property from the same shorthand, then it just automatically repeats the things you have in your shorter lists (without going over the length of the longest list), until all the list length match. 

So with backgrounds, if you have five of `background-image`, but only two of `background-size`, then it would repeat `background-size` to fill in the other three missing slots, so that they would in effect be alternating sizes between layers. Since having it automatically repeat it three times would give you too many things in that list, it would ignore any leftovers from the repetition. 

I would find it really confusing, and harder to learn, understand, and remember, if doing multiple borders was significantly different than doing multiple backgrounds. 

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


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

Received on Wednesday, 24 December 2025 01:43:03 UTC