- From: Ilya Streltsyn via GitHub <sysbot+gh@w3.org>
- Date: Sun, 17 Dec 2023 13:43:53 +0000
- To: public-css-archive@w3.org
I guess that the main confusion regarding existing border-image comes from the fact that its name, default values and many old web manuals suggest that it's firmly tied to the border area of the element. However, it seems better to think of it as a separate decorative layer, not limited by the element border edge and not strictly related to the box model of the element at all. It's its ability to paint things in the margin area of the element (and beyond) that I, for one, find the most useful (and exciting:), and many modern use cases seem to make use exactly of it (like [full-bleed backgrounds with no extra markup](https://codepen.io/SelenIT/pen/mdvNeGQ), [long shadows](https://codepen.io/t_afif/pen/XWoNdGK), or [regular shadows with improved performance and behavior](https://aerotwist.com/blog/slicing-svg-9-ways/)). Perhaps it would be better to rename it to something like `edge-decoration` instead of "killing with fire"? 😳 Also, the syntax of border-image is already reused in `mask-border`. -- GitHub Notification of comment by SelenIT Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9714#issuecomment-1859176897 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 17 December 2023 13:43:55 UTC