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

Unified Diff: LayoutTests/compositing/iframes/iframe-composited-scrolling-hide-and-show.html

Issue 878573004: Increase reliablity of scorllingcoordinator layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update test expectation Created 5 years, 11 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/compositing/iframes/iframe-composited-scrolling-hide-and-show.html
diff --git a/LayoutTests/compositing/iframes/iframe-composited-scrolling-hide-and-show.html b/LayoutTests/compositing/iframes/iframe-composited-scrolling-hide-and-show.html
index 5c063abe7a5ae22178c88a0291346e20691cfbfa..a6bddfb5fbe5d857213f50244472b3c6a89584cc 100644
--- a/LayoutTests/compositing/iframes/iframe-composited-scrolling-hide-and-show.html
+++ b/LayoutTests/compositing/iframes/iframe-composited-scrolling-hide-and-show.html
@@ -15,6 +15,7 @@ iframe {
onload = function() {
if (window.internals) {
var frame = document.getElementById('scrollable-iframe');
+ document.body.offsetTop; // Force layout
shouldBe('internals.nonFastScrollableRects(document).length', '1');
frame.style.display = 'none';
document.body.offsetTop; // Force layout

Powered by Google App Engine
This is Rietveld 408576698