Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(521)

Unified Diff: LayoutTests/editing/selection/focus_editable_html.html

Issue 249723003: Remove main frame overflow from some non-scrollbar tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Windows expectations Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>
« no previous file with comments | « LayoutTests/editing/inserting/typing-at-end-of-line.html ('k') | LayoutTests/editing/selection/select-all-001.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698