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

Unified Diff: chrome/test/data/mouseleave.html

Issue 354010: Handle GTK enter and leave notification events and pass them to WebKit as ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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 | « chrome/test/automation/window_proxy.cc ('k') | chrome/test/ui/mouseleave_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/mouseleave.html
===================================================================
--- chrome/test/data/mouseleave.html (revision 0)
+++ chrome/test/data/mouseleave.html (revision 0)
@@ -0,0 +1,42 @@
+<html>
+ <head>
+ <style>
+ body {
+ margin: 0px;
+ padding: 0px;
+ }
+ #mybox {
+ padding: 20px;
+ margin: 0px;
+ border: 1px solid #000;
+ }
+ #mystatus {
+ border: 1px solid #000;
+ padding: 20px;
+ margin: 0px;
+ }
+ </style>
+ <script>
+ var state = '';
+ function load() {
+ state = 'initial';
+ document.getElementById("mystatus").innerHTML = state;
+ document.cookie = '__state=' + state + '; path=/';
+ }
+ function enter() {
+ state += ',entered';
+ document.getElementById("mystatus").innerHTML = state;
+ document.cookie = '__state=' + state + '; path=/';
+ }
+ function leave() {
+ state += ',left';
+ document.getElementById("mystatus").innerHTML = state;
+ document.cookie = '__state=' + state + '; path=/';
+ }
+ </script>
+ </head>
+ <body onload="load()">
+ <div id="mybox" onmouseover="enter()" onmouseout="leave()"></div>
+ <div id="mystatus"></div>
+ </body>
+</html>
Property changes on: chrome/test/data/mouseleave.html
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/test/automation/window_proxy.cc ('k') | chrome/test/ui/mouseleave_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698