Re: [csswg-drafts] [css-backgrounds] a 5x5 `border-image-slice` option (#8883)

While a centered bit in the border is probably the most common non-supported fancy border image, it's still pretty far down the long tail. Border image itself is already a relatively little-used property, and the syntax is pretty complex; adding more complexity in the form of two more slices per axis, along with appropriate controls for the new segments, would make it even less readable.

And ultimately, all the added complexity would be in the service of one use-case - putting things in the center of a side. If you wanted to put an image anywhere else, you'd still be unable to. I think the right answer here is to rely on the existing border-image, and Custom Paint to draw in the pattern you want at the exact location and size you want.

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


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

Received on Tuesday, 30 May 2023 20:34:49 UTC