OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <style> | 2 <style> |
3 iframe { | 3 iframe { |
4 position: absolute; | 4 position: absolute; |
5 top: 50px; | 5 top: 50px; |
6 width: 100px; | 6 width: 100px; |
7 height: 100px; | 7 height: 100px; |
8 border: 1px solid black; | 8 border: 1px solid black; |
9 } | 9 } |
10 ::-webkit-scrollbar { | 10 ::-webkit-scrollbar { |
11 width: 0px; | 11 width: 0px; |
12 } | 12 } |
13 </style> | 13 </style> |
14 <iframe src='http://127.0.0.1:8000/navigation/resources/focus-shifting-frame-wit
h-anchor.html'></iframe> | 14 <iframe src='http://127.0.0.1:8000/navigation/resources/focus-shifting-frame-wit
h-anchor.html'></iframe> |
15 <script> | 15 <script> |
16 if (window.testRunner) { | 16 if (window.testRunner) { |
17 testRunner.waitUntilDone(); | 17 testRunner.waitUntilDone(); |
18 } | 18 } |
19 onload = function() { | 19 onload = function() { |
20 requestAnimationFrame(function() { | 20 requestAnimationFrame(function() { |
21 if (window.testRunner) { | 21 if (window.testRunner) { |
22 testRunner.notifyDone(); | 22 testRunner.notifyDone(); |
23 } | 23 } |
24 }); | 24 }); |
25 }; | 25 }; |
26 </script> | 26 </script> |
OLD | NEW |