Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / navigation / resources / focus-shifting-frame-with-anchor.html
1 <!DOCTYPE html>
2 <a href='#'>anchor</a>
3 <a id='dummy' href='dummy'>dummy</a>
4 <div style='width:10px;height:2000px;background:white'></div>
5 <script>
6 onload = function() {
7   location.href = '#';
8   requestAnimationFrame(function() {
9     document.getElementById('dummy').focus();
10   });
11 }
12 </script>