blob: 0039b9263cadc414a8618f30e503b3edb61f2aae [file] [log] [blame]
<!DOCTYPE html>
<style>
#img {content:url('ImageDoesNotExist')}
</style>
<img id='img' alt='test image'>
<script>
document.getElementById('img').style.content = "url('resources/lenna.png')";
document.getElementById('img').style.content = "url('ImageDoesNotExist')";
document.getElementById('img').style.content = "url('resources/lenna.png')";
</script>
<p>crbug.com/516239: images set by content: url() should behave correctly with alt text.