Index: LayoutTests/http/tests/navigation/anchor-frames-shifting-focus.html |
diff --git a/LayoutTests/http/tests/navigation/anchor-frames-shifting-focus.html b/LayoutTests/http/tests/navigation/anchor-frames-shifting-focus.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c5956d39524b1a05afe433fb4cbdfb9c716b02c2 |
--- /dev/null |
+++ b/LayoutTests/http/tests/navigation/anchor-frames-shifting-focus.html |
@@ -0,0 +1,27 @@ |
+<!DOCTYPE html> |
+<style> |
+iframe { |
+ position: absolute; |
+ top: 50px; |
+ width: 100px; |
+ height: 100px; |
+ border: 1px solid black; |
+} |
+::-webkit-scrollbar { |
+ width: 0px; |
+} |
+</style> |
+<div style='width:10px;height:2000px;background:white;position:absolute'></div> |
+<iframe src='http://127.0.0.1:8000/navigation/resources/focus-shifting-frame-with-anchor.html' sandbox='allow-scripts'></iframe> |
+<script> |
+if (window.testRunner) { |
+ testRunner.waitUntilDone(); |
+} |
+onload = function() { |
+ requestAnimationFrame(function() { |
+ if (window.testRunner) { |
+ testRunner.notifyDone(); |
+ } |
+ }); |
+}; |
+</script> |