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

Unified Diff: third_party/WebKit/LayoutTests/fast/images/width-on-broken-data-src.html

Issue 2042413002: Notify the HTMLDocumentParser on document element available (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix some layout test flakiness Created 4 years, 6 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/images/width-on-broken-data-src.html
diff --git a/third_party/WebKit/LayoutTests/fast/images/width-on-broken-data-src.html b/third_party/WebKit/LayoutTests/fast/images/width-on-broken-data-src.html
index 9c78289efe9f9e51dce5d0035799767673c7b905..5290ec81971cd62f50560bd3e241342de4cc8575 100644
--- a/third_party/WebKit/LayoutTests/fast/images/width-on-broken-data-src.html
+++ b/third_party/WebKit/LayoutTests/fast/images/width-on-broken-data-src.html
@@ -3,7 +3,9 @@
<script src="../../resources/check-layout.js"></script>
<p>crbug.com/522673: Return the correct width for images with broken data: uri's.</p>
<script>
- checkLayout("img");
+ window.onload = function() {
+ checkLayout("img");
kouhei (in TOK) 2016/06/08 05:09:11 Would you explain this change?
Charlie Harrison 2016/06/08 22:25:50 This is a timing related issue. I think the proble
+ }
</script>

Powered by Google App Engine
This is Rietveld 408576698