Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / selection / focus_editable_html.html
index 2ed958d..8812700 100644 (file)
@@ -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>