Re: [csswg-drafts] Support for passing CSS styles to an SVG used via img[src] (#8634)

I would call the proposed pseudo-element `::content` because it forms the shadow root for the replaced content, i.e. if we assume `img {content: attr(src)}` still worked.  That’s why there should also be likewise pseudo-elements to match all other properties that may embed external content (usually images): 

- `::marker` could be extended to become the same for `list-style-image`. 
- `::background` or an extended `::backdrop` or maybe `::canvas` for `background-image`
- `::border` for `border-image` (and probably variants for all edges)


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


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

Received on Sunday, 26 March 2023 11:40:42 UTC