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

Unified Diff: LayoutTests/fast/events/resize-events-fixed-layout.html

Issue 20140002: Remove minimumLayoutDelay() and associated machinery (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: another fix Created 7 years, 5 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/events/resize-events-fixed-layout.html
diff --git a/LayoutTests/fast/events/resize-events-fixed-layout.html b/LayoutTests/fast/events/resize-events-fixed-layout.html
index b9ee8264b7759ecd541772f29cbd0eb9738af3bf..0048d1b8fcb66cff8a4c433a67113badc32199f2 100644
--- a/LayoutTests/fast/events/resize-events-fixed-layout.html
+++ b/LayoutTests/fast/events/resize-events-fixed-layout.html
@@ -54,11 +54,12 @@
}
function finish() {
// setFixedLayoutSize() must emit a resize event.
- shouldBe("resizeEventCount", "1");
+ // We call setFixedLayoutSize twice. Once before the load event, and then a second time after load.
+ shouldBe("resizeEventCount", "2");
if (window.testRunner)
testRunner.notifyDone();
}
window.onload = test;
</script>
</body>
-</html>
+</html>

Powered by Google App Engine
This is Rietveld 408576698