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

Unified Diff: third_party/WebKit/LayoutTests/fast/table/percent-height-overflow-visible-content-in-cell.html

Issue 2807973004: Deflake two layout tests (Closed)
Patch Set: 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
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/table/percent-height-overflow-hidden-content-in-cell.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/table/percent-height-overflow-visible-content-in-cell.html
diff --git a/third_party/WebKit/LayoutTests/fast/table/percent-height-overflow-visible-content-in-cell.html b/third_party/WebKit/LayoutTests/fast/table/percent-height-overflow-visible-content-in-cell.html
index 2f6febddc868a92e51111e7178fb619d6b9d3e51..76387ce108b9b6defc806a9756dcfe5db4de23c1 100644
--- a/third_party/WebKit/LayoutTests/fast/table/percent-height-overflow-visible-content-in-cell.html
+++ b/third_party/WebKit/LayoutTests/fast/table/percent-height-overflow-visible-content-in-cell.html
@@ -11,13 +11,18 @@ table {
</style>
<table class="test" data-expected-height=100 data-expected-width=82>
<tr>
- <td class="test" data-expected-height=96 data-expected-width=78><div id="content" class="test" data-expected-height=94 data-expected-width=76><img src="../../images/resources/border-image-srgb-color-profile.png"></div></td>
+ <td class="test" data-expected-height=96 data-expected-width=78><div id="content" class="test" data-expected-height=94 data-expected-width=76><img id="img"></div></td>
</tr>
</table>
<script src="../../resources/check-layout.js"></script>
<p> crbug.com/637811: Percent height overflow visible content in a cell should flex the height of the cell. </p>
<div id="output"></div>
<script>
-document.body.offsetTop;
-checkLayout('.test', output);
+img.addEventListener("load", onImageLoaded, false);
+img.src = "../../images/resources/border-image-srgb-color-profile.png";
+function onImageLoaded()
+{
+ document.body.offsetTop;
+ checkLayout('.test', output);
+}
</script>
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/table/percent-height-overflow-hidden-content-in-cell.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698