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

Side by Side Diff: LayoutTests/fast/regions/hover-in-second-region.html

Issue 159933010: Remove everything region-specific from LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>hover effect on a link in the 2nd region</title>
5 <style>
6 .content {
7 font-size: 20px;
8 font-family: Verdana;
9 -webkit-flow-into: f;
10 }
11 .content a:hover {
12 color:Green;
13 }
14 #region {
15 width: 100px;
16 height: 100px;
17 background-color: rgb(241, 241, 241);
18 border: solid 1px #888;
19 margin: 10px;
20 -webkit-flow-from: f;
21 }
22 </style>
23 <script>
24 function myOnLoad() {
25 if(!window.testRunner)
26 return;
27
28 var element = document.querySelector('.content a ');
29 var box = element.getBoundingClientRect();
30 var X = (box.right + box.left) / 2;
31 var Y = (box.top + box.bottom) / 2;
32
33 eventSender.mouseMoveTo(X, Y);
34 }
35 </script>
36 </head>
37 <body onload="myOnLoad();">
38 <div class="content">1xxxxx<br>2xxxxx<br>3xxxxx<br>4xxxxx<br>5xx xxx<br>6xxxxx<br><a href="#">7xx</a>xxx<br>8xxxxx<br>9xxxxx<br>10xxxxx<br>11xxxx x</div>
39 <div id="region"></div>
40 <div id="region"></div>
41 <div id="region"></div>
42 <div>hover effect on a link in the 2nd region</div>
43 </body>
44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698