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

Unified Diff: LayoutTests/fast/events/window-events-bubble.html

Issue 14859016: Don't force layout for mouse event hit tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix review comment Created 7 years, 7 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/window-events-bubble.html
diff --git a/LayoutTests/fast/events/window-events-bubble.html b/LayoutTests/fast/events/window-events-bubble.html
index a60f4641191fe35e372477f53480f60370a2bda2..f97c5969c32b227c453cfc02840c29da91d42585 100644
--- a/LayoutTests/fast/events/window-events-bubble.html
+++ b/LayoutTests/fast/events/window-events-bubble.html
@@ -9,6 +9,8 @@ if (window.testRunner) {
function test()
{
if (window.eventSender) {
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
eventSender.mouseMoveTo(52, 52);
eventSender.mouseDown();
eventSender.mouseUp();
@@ -38,4 +40,4 @@ function log(text) {
<div id="result" style="position: absolute; top: 100; left: 50;"><br></div>
</body>
-</html>
+</html>
« no previous file with comments | « LayoutTests/fast/events/updateLayoutForHitTest.html ('k') | LayoutTests/fast/events/window-events-bubble2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698