Chromium Code Reviews| Index: LayoutTests/http/tests/navigation/resources/focus-shifting-frame-with-anchor.html |
| diff --git a/LayoutTests/http/tests/navigation/resources/focus-shifting-frame-with-anchor.html b/LayoutTests/http/tests/navigation/resources/focus-shifting-frame-with-anchor.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1b194f6589fded21e4fa4af8f4087aac83848d33 |
| --- /dev/null |
| +++ b/LayoutTests/http/tests/navigation/resources/focus-shifting-frame-with-anchor.html |
| @@ -0,0 +1,12 @@ |
| +<!DOCTYPE html> |
| +<a href='#'>anchor</a> |
| +<a id='dummy' href='dummy'>dummy</a> |
| +<div style='width:10px;height:2000px;background:white'></div> |
| +<script> |
| +onload = function() { |
| + location.href = '#'; |
| + requestAnimationFrame(function() { |
| + document.getElementById('dummy').focus(); |
| + }); |
| +} |
| +</script> |