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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html id="hElem" contenteditable=true> 1 <html id="hElem" contenteditable=true>
2 <script> 2 <script>
3 if (window.testRunner) 3 if (window.testRunner)
4 testRunner.dumpEditingCallbacks(); 4 testRunner.dumpEditingCallbacks();
5 </script> 5 </script>
6 6
7 <body onload="document.getElementById('hElem').focus()"> 7 <body style="overflow:hidden;" onload="document.getElementById('hElem').focus()" >
8 This test makes sure that we don't scroll unnecessarily to reveal an editable HT ML Element. 8 This test makes sure that we don't scroll unnecessarily to reveal an editable HT ML Element.
9 <br> If the document doesn't scroll, test passes.<br> 9 <br> If the document doesn't scroll, test passes.<br>
10 <b>This demonstrates a bug: normally, focusing an element will select its conten ts.</b> 10 <b>This demonstrates a bug: normally, focusing an element will select its conten ts.</b>
11 <div style="width:2000px;height:2000px;"></div> 11 <div style="width:2000px;height:2000px;"></div>
12 If the document scrolls here, test fails. 12 If the document scrolls here, test fails.
13 </body> 13 </body>
14 </html> 14 </html>
OLDNEW
« 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