Index: LayoutTests/fast/images/content-url-image-with-alt-text-dynamic.html |
diff --git a/LayoutTests/fast/images/content-url-image-with-alt-text-dynamic.html b/LayoutTests/fast/images/content-url-image-with-alt-text-dynamic.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0039b9263cadc414a8618f30e503b3edb61f2aae |
--- /dev/null |
+++ b/LayoutTests/fast/images/content-url-image-with-alt-text-dynamic.html |
@@ -0,0 +1,11 @@ |
+<!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. |