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

Side by Side Diff: LayoutTests/editing/input/editable-container-with-word-wrap-normal.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 <html> 2 <html>
3 <head> 3 <head>
4 <title> Testcase for bug https://bugs.webkit.org/show_bug.cgi?id=89649 </title> 4 <title> Testcase for bug https://bugs.webkit.org/show_bug.cgi?id=89649 </title>
5 <style> 5 <style>
6 .editableDiv { 6 .editableDiv {
7 overflow:auto; 7 overflow:auto;
8 height:50px; 8 height:50px;
9 width:500px; 9 width:500px;
10 word-wrap:normal; 10 word-wrap:normal;
11 font-family: 'Ahem'; 11 font-family: 'Ahem';
12 } 12 }
13 </style> 13 </style>
14 <script src="../../fast/js/resources/js-test-pre.js"></script> 14 <script src="../../resources/js-test.js"></script>
15 <script> 15 <script>
16 function runTest() { 16 function runTest() {
17 description('Testcase for bug <a href="http://www.webkit.org/b/89649">http:/ /www.webkit.org/b/89649</a>. \ 17 description('Testcase for bug <a href="http://www.webkit.org/b/89649">http:/ /www.webkit.org/b/89649</a>. \
18 The test case checks if caret is drawn properly(especially scrolls properly) ins ide a editable container having word-wrap:normal.'); 18 The test case checks if caret is drawn properly(especially scrolls properly) ins ide a editable container having word-wrap:normal.');
19 19
20 editableContainer = document.getElementById('test'); 20 editableContainer = document.getElementById('test');
21 editableContainer.focus(); 21 editableContainer.focus();
22 if (window.internals) 22 if (window.internals)
23 startCaretRect = internals.absoluteCaretBounds(); 23 startCaretRect = internals.absoluteCaretBounds();
24 24
(...skipping 21 matching lines...) Expand all
46 </script> 46 </script>
47 </head> 47 </head>
48 <body onload="runTest();"> 48 <body onload="runTest();">
49 <div id="test" contenteditable="true" class="editableDiv" > 49 <div id="test" contenteditable="true" class="editableDiv" >
50 SOMEFILLERTEXTSOMEFILLERTEXTSOMEFILLERFILLERSFILLERSFILLERSFILLERSFILLERS 50 SOMEFILLERTEXTSOMEFILLERTEXTSOMEFILLERFILLERSFILLERSFILLERSFILLERSFILLERS
51 </div> 51 </div>
52 <div id="description"></div> 52 <div id="description"></div>
53 <div id="console"></div> 53 <div id="console"></div>
54 </body> 54 </body>
55 </html> 55 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/input/ctrl-up-down.html ('k') | LayoutTests/editing/input/setting-input-value-cancel-ime-composition.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698