Re: [csswg-drafts] [css-backgrounds-4] Use cases for corner-shape (#6980)

> - no use of `border-image`
> 
>  - This aligns with my general experience that most web Devs still don't seem to know that `border-image` is a thing. 
> 
>  - Or they know about it but think it's super complicated and therefore avoid it (may have never even tried it).

I think you are probably right. As one of the authors of that spec, it is disappointing, but I also don't use it much. With raster images:

- Have to make a new image every time you want to change shape, color, etc. 
- Have to make it at least twice the size in order to make sure it looks good on high resolution (Retina) displays. 
- Have to deal with moving more files around, deploying to server, etc. 
- Fun times hoping you have the PhotoShop (or whatever) color space settings right in order for the color in the image match the same color in the browser. 

SVG can be used, but that adds different complications. It can be super complicated, depending on what you are trying to achieve, and it can render slowly, and there are browser differences. 

> - devs will still work really hard (sometime to extremes) to not download an image.

I think I tend to be in that camp, especially with raster images. 


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


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

Received on Saturday, 26 March 2022 02:42:28 UTC