Re: [csswg-drafts] [css-background-4] Issues with listifying border-color (#2532)

Yes, 1 dimensional images are still `<image>`. The whole reason they are 1 dimensional is so they can be used in borders, and they are painted alongside the border (like a brush).
I seem to also remember discussing something like how gradient functions would also be augmented to accept a 1d image as the gradient line, so you could do `linear-gradient(45deg, stripes(...))`. I suppose we'd need to define some handling for when a 1d image is used raw in places that expect a 2d image. E.g. it could be converted to a 2d image via horizontal or vertical repetition (or stretching). 🤷🏽‍♀️

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


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

Received on Tuesday, 15 February 2022 16:45:21 UTC