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 |