Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>Content CSS property on img with alt and no src is honored</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="match" href="element-replacement-ref.html" />
<style>
img {
content: url('resources/rect.svg');
}
</style>
<img alt="Something">