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

Side by Side Diff: LayoutTests/editing/selection/selection-after-text-normalize.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 <p id="description"></p> 2 <p id="description"></p>
3 <div id="sample"></div> 3 <div id="sample"></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 description('Check selection updated after normalize.'); 7 description('Check selection updated after normalize.');
8 function $(id) { return document.getElementById(id); } 8 function $(id) { return document.getElementById(id); }
9 9
10 var selection = window.getSelection(); 10 var selection = window.getSelection();
11 var newText; 11 var newText;
12 function testIt(source, expectedText) 12 function testIt(source, expectedText)
13 { 13 {
14 var sample = $('sample'); 14 var sample = $('sample');
15 sample.innerHTML = ''; 15 sample.innerHTML = '';
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 testIt('foo b[ar ba]z'); 74 testIt('foo b[ar ba]z');
75 testIt('f[oo ba]z'); 75 testIt('f[oo ba]z');
76 testIt('[foo ] baz'); 76 testIt('[foo ] baz');
77 testIt('[foo baz]'); 77 testIt('[foo baz]');
78 testIt('foo [ baz]'); 78 testIt('foo [ baz]');
79 testIt('foo [bar ]'); 79 testIt('foo [bar ]');
80 80
81 if (window.testRunner) 81 if (window.testRunner)
82 $('container').outerHTML = ''; 82 $('container').outerHTML = '';
83 </script> 83 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698