Index: LayoutTests/fullscreen/enter-exit-full-screen-hover.html |
diff --git a/LayoutTests/fullscreen/enter-exit-full-screen-hover.html b/LayoutTests/fullscreen/enter-exit-full-screen-hover.html |
index be3e258bae26206a64d6d219754e8f7ce08a6fd1..1aa60aabd5f07469beb55a5a9fc2c54bd2fee042 100644 |
--- a/LayoutTests/fullscreen/enter-exit-full-screen-hover.html |
+++ b/LayoutTests/fullscreen/enter-exit-full-screen-hover.html |
@@ -1,11 +1,4 @@ |
<!DOCTYPE html> |
-<style> |
-/* Offset body by 50px so that buttons clearly change position when they enter/exit fullscreen. */ |
-body { |
- position: relative; |
- left: 50px; |
-} |
-</style> |
<script src="../resources/js-test.js"></script> |
<script src="full-screen-test.js"></script> |
<script src="../fast/events/touch/resources/touch-hover-active-tests.js"></script> |
@@ -50,8 +43,7 @@ function runTest() { |
// Move mouse over to the "Go fullscreen" button and click |
- // We move by 50px in the x-direction to account for the relative position. |
- eventSender.mouseMoveTo(enterButtonCenter.x + 50, enterButtonCenter.y); |
+ eventSender.mouseMoveTo(enterButtonCenter.x, enterButtonCenter.y); |
eventSender.mouseDown(); |
eventSender.mouseUp(); |
} |