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

Unified Diff: LayoutTests/fullscreen/enter-exit-full-screen-hover.html

Issue 974783002: Match the Fullscreen spec's CSS as far as currently practical (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: disambiguate Fullscreen UA style sheet Created 5 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/fullscreen/full-screen-iframe-zIndex.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1aa60aabd5f07469beb55a5a9fc2c54bd2fee042..be3e258bae26206a64d6d219754e8f7ce08a6fd1 100644
--- a/LayoutTests/fullscreen/enter-exit-full-screen-hover.html
+++ b/LayoutTests/fullscreen/enter-exit-full-screen-hover.html
@@ -1,4 +1,11 @@
<!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>
@@ -43,7 +50,8 @@ function runTest() {
// Move mouse over to the "Go fullscreen" button and click
- eventSender.mouseMoveTo(enterButtonCenter.x, enterButtonCenter.y);
+ // We move by 50px in the x-direction to account for the relative position.
+ eventSender.mouseMoveTo(enterButtonCenter.x + 50, enterButtonCenter.y);
eventSender.mouseDown();
eventSender.mouseUp();
}
« no previous file with comments | « no previous file | LayoutTests/fullscreen/full-screen-iframe-zIndex.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698