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

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

Issue 815363003: FrameView now notifies ScrollCoorinator of changes in its scrollable area set (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Improve test 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 e2a3368ea389b104fc91b37fe5b905ce066af7b9..5c063abe7a5ae22178c88a0291346e20691cfbfa 100644
--- a/LayoutTests/compositing/iframes/iframe-composited-scrolling-hide-and-show.html
+++ b/LayoutTests/compositing/iframes/iframe-composited-scrolling-hide-and-show.html
@@ -17,8 +17,10 @@ iframe {
var frame = document.getElementById('scrollable-iframe');
shouldBe('internals.nonFastScrollableRects(document).length', '1');
frame.style.display = 'none';
+ document.body.offsetTop; // Force layout
shouldBe('internals.nonFastScrollableRects(document).length', '0');
frame.style.display = '';
+ document.body.offsetTop; // Force layout
shouldBe('internals.nonFastScrollableRects(document).length', '1');
}
}

Powered by Google App Engine
This is Rietveld 408576698