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

Side by Side Diff: LayoutTests/editing/inserting/insert-table-in-paragraph-crash.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 <div id="container"> 1 <div id="container">
2 Editable:<div contenteditable="true" id="editable"></div> 2 Editable:<div contenteditable="true" id="editable"></div>
3 </div> 3 </div>
4 </div> 4 </div>
5 <script src="../../fast/js/resources/js-test-pre.js"></script> 5 <script src="../../resources/js-test.js"></script>
6 <script> 6 <script>
7 function $(id) { return document.getElementById(id); } 7 function $(id) { return document.getElementById(id); }
8 $('editable').focus(); 8 $('editable').focus();
9 var expected = '<table><tbody><tr><td>stats</td></tr></tbody></table>'; 9 var expected = '<table><tbody><tr><td>stats</td></tr></tbody></table>';
10 document.execCommand('InsertHTML', false, '<p>' + expected + '</p>'); 10 document.execCommand('InsertHTML', false, '<p>' + expected + '</p>');
11 shouldBeEqualToString('$("editable").innerHTML', expected); 11 shouldBeEqualToString('$("editable").innerHTML', expected);
12 if (window.testRunner) 12 if (window.testRunner)
13 $('container').outerHTML = ''; 13 $('container').outerHTML = '';
14 </script> 14 </script>
15 </body> 15 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698