| 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 <div style='width:10px;height:2000px;background:white;position:absolute'></div> | 14 <div style='width:10px;height:2000px;background:white;position:absolute'></div> |
| 15 <iframe src='http://127.0.0.1:8000/navigation/resources/focus-shifting-frame-wit
h-anchor.html' sandbox='allow-scripts'></iframe> | 15 <iframe src='http://127.0.0.1:8000/navigation/resources/focus-shifting-frame-wit
h-anchor.html' sandbox='allow-scripts'></iframe> |
| 16 <script> | 16 <script> |
| 17 if (window.testRunner) { | 17 if (window.testRunner) { |
| 18 testRunner.waitUntilDone(); | 18 testRunner.waitUntilDone(); |
| 19 } | 19 } |
| 20 onload = function() { | 20 onload = function() { |
| 21 requestAnimationFrame(function() { | 21 requestAnimationFrame(function() { |
| 22 if (window.testRunner) { | 22 if (window.testRunner) { |
| 23 testRunner.notifyDone(); | 23 testRunner.notifyDone(); |
| 24 } | 24 } |
| 25 }); | 25 }); |
| 26 }; | 26 }; |
| 27 </script> | 27 </script> |
| OLD | NEW |