[Qt][WK1][CSS Regions] New test fast/regions/hover-on-child-parent-different-regions...
[WebKit-https.git] / LayoutTests / fast / regions / hover-on-child-parent-different-regions.html
index d815af7..58c1366 100644 (file)
                        eventSender.mouseMoveTo(child.offsetLeft + 50, child.offsetTop + 50);
                        eventSender.mouseDown(0);
 
-                       setTimeout(release, 0);                 
+                       // force a re-layout to ensure the hover events gets propagated before we check the results
+                       var top = document.body.offsetTop;
+
+                       setTimeout(release, 0);
                }
        }