Index: LayoutTests/editing/selection/focus_editable_html.html |
diff --git a/LayoutTests/editing/selection/focus_editable_html.html b/LayoutTests/editing/selection/focus_editable_html.html |
index 2ed958dd1f16095941057aaa356b5b3e81564501..8812700c848a12a100429fcf72804052646ac000 100644 |
--- a/LayoutTests/editing/selection/focus_editable_html.html |
+++ b/LayoutTests/editing/selection/focus_editable_html.html |
@@ -4,7 +4,7 @@ if (window.testRunner) |
testRunner.dumpEditingCallbacks(); |
</script> |
-<body onload="document.getElementById('hElem').focus()"> |
+<body style="overflow:hidden;" onload="document.getElementById('hElem').focus()"> |
This test makes sure that we don't scroll unnecessarily to reveal an editable HTML Element. |
<br> If the document doesn't scroll, test passes.<br> |
<b>This demonstrates a bug: normally, focusing an element will select its contents.</b> |