Re: [csswg-drafts] [css-content] Does `content: url()` apply to images?

> 'content' should definitely work on img; there's nothing particularly special about it that would make this not true, I think.

Well, image is a replaced element, and `content: url()` on other elements like `<video>` or `<iframe>` doesn't replace them. So I'm not think it's that obvious.

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

Received on Wednesday, 22 August 2018 09:30:16 UTC