Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: LayoutTests/fast/dom/HTMLImageElement/image-alt-text-width.html

Issue 419453003: Show alt text when source image is missing or broken or not found. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebaselining newly added Layout test cases Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>
« no previous file with comments | « LayoutTests/fast/dom/HTMLImageElement/image-alt-text-no-width.html ('k') | LayoutTests/fast/forms/002-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698