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

Side by Side Diff: LayoutTests/fast/text/whitespace/select-new-line-with-line-break-normal.html

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 years, 3 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>Tests that we paint a selection when a newline is selected.</title> 2 <title>Tests that we paint a selection when a newline is selected.</title>
3 <div contentEditable style="width: 100px; height: 100px; border: 5px solid salmo n; -webkit-line-break: normal"> 3 <div contentEditable style="width: 100px; height: 100px; border: 5px solid salmo n; -webkit-line-break: normal">
4 fooooooooo baaaaaaaar 4 fooooooooo baaaaaaaar
5 </div> 5 </div>
6 <script> 6 <script>
7 var text = document.querySelector('div').firstChild 7 var text = document.querySelector('div').firstChild
8 window.getSelection().setBaseAndExtent(text, 11, text, 12); 8 window.getSelection().setBaseAndExtent(text, 11, text, 12);
9 // We don't care about the text dump. This is just testing painting of the selec tion. 9 // We don't care about the text dump. This is just testing painting of the selec tion.
10 if (window.testRunner) 10 if (window.testRunner)
11 testRunner.dumpAsText(true); 11 testRunner.dumpAsTextWithPixelResults();
12 </script> 12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698