Re: [csswg-drafts] [css-images][css-backgrounds] make `border-image` and `border-radius` work together (#7550)

>> Well for one thing, border-radius affects the shape the border-box, but border-image-outset can put the image outside of the border-box, with some combination of opaque and transparent or partially-opaque pixels.
> @bradkemper I think i'm following the explanation but i'm not sure why this is an issue.

I mean, it sounds like you want the `border-radius` to clip the corners of the border image, but I don't know how that would work without also clipping the sides whenever they extend beyond the border box. And if they are clipping there, then how is `border-image-outset` meaningful? 

I guess in theory you could have `border-radius` on the border image outset box instead of the border box, but that border image outset box is also not a good indicator of where the design in the image actually stops. So it would seem to have limited utility in the world of possible images (we were mostly considering raster images at the time we originally specced this), and probably not backward compatible if we tried to change it now.  



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


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

Received on Tuesday, 8 November 2022 05:19:34 UTC