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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLImageElement/fallback-image-moved-across-documents.html

Issue 2593263003: Use a non-replaced inline container for image alt text (Closed)
Patch Set: Use a non-replaced inline container for image alt text Created 3 years, 8 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: third_party/WebKit/LayoutTests/fast/dom/HTMLImageElement/fallback-image-moved-across-documents.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLImageElement/fallback-image-moved-across-documents.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLImageElement/fallback-image-moved-across-documents.html
index 11017f40f744ec60f101653997b4afc40b7811f0..eeac7710b958bc28e15f9e8b4f63ad8aa1c1e758 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLImageElement/fallback-image-moved-across-documents.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLImageElement/fallback-image-moved-across-documents.html
@@ -37,7 +37,7 @@ promise_test(t => {
return eventWatcher.wait_for("error").then(_ => {
window.setTimeout(_ => document.body.append(i));
return eventWatcher.wait_for("error").then(_ => {
- assert_equals(i.clientWidth, 20, "Fallback content should be displayed.");
+ assert_equals(i.clientWidth, 0, "Fallback content will not be displayed, fallback content is treated as display:none.");
});
});
}, "Infinitely nested fallback content shadow trees should not be created, or this test will never terminate.");

Powered by Google App Engine
This is Rietveld 408576698