Index: LayoutTests/fast/dom/HTMLImageElement/image-alt-text-width.html |
diff --git a/LayoutTests/fast/dom/HTMLImageElement/image-alt-text-width.html b/LayoutTests/fast/dom/HTMLImageElement/image-alt-text-width.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2feed85f3a4e37932f526c5ae13e036310ee2588 |
--- /dev/null |
+++ b/LayoutTests/fast/dom/HTMLImageElement/image-alt-text-width.html |
@@ -0,0 +1,14 @@ |
+<html> |
+<head> |
+</head> |
+<body> |
+This tests whether alt text is shown for image elements when image is missing and width is specified for img tag. |
+You should see specified alt text. |
+<p> |
+ |
+<img src="image_missing.jpg" alt="Image is missing and width is specified" width="50"><br> |
+ |
+<img src="image_missing.jpg" width="1024" alt="Image is missing and alt text width is more than 1024px Image is missing and alt text width is more than 1024px Image is missing and alt text width is more than 1024px"><br> |
+ |
+</body> |
+</html> |