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

Side by Side Diff: LayoutTests/editing/selection/caret-at-bidi-boundary.html

Issue 48903019: Delete js-test-post.js. (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 <meta http-equiv="content-type" content="text/html; charset=utf-8"> 4 <meta http-equiv="content-type" content="text/html; charset=utf-8">
5 <script src="../../fast/js/resources/js-test-pre.js"></script> 5 <script src="../../fast/js/resources/js-test-pre.js"></script>
6 <style type="text/css"> 6 <style type="text/css">
7 #tests { font-size: 2.5em; padding: 0px; margin: 0px; } 7 #tests { font-size: 2.5em; padding: 0px; margin: 0px; }
8 dt { width: 15ex; padding: 0px 10px; margin: 0px; } 8 dt { width: 15ex; padding: 0px 10px; margin: 0px; }
9 dd { font-size: 0.6em; margin: 0px; padding: 0px 10px; } 9 dd { font-size: 0.6em; margin: 0px; padding: 0px 10px; }
10 .target { background-color: #bbeeff; } 10 .target { background-color: #bbeeff; }
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 debug('This test requires eventSender'); 98 debug('This test requires eventSender');
99 document.onselectionchange = function () { 99 document.onselectionchange = function () {
100 var selection = window.getSelection(); 100 var selection = window.getSelection();
101 document.getElementById('log').textContent = globalOffsetFromNodeOffsetP air(selection.baseNode, selection.baseOffset) + ', ' + 101 document.getElementById('log').textContent = globalOffsetFromNodeOffsetP air(selection.baseNode, selection.baseOffset) + ', ' +
102 globalOffsetFromNodeOffsetPair(selection.extentNode, selection.exten tOffset); 102 globalOffsetFromNodeOffsetPair(selection.extentNode, selection.exten tOffset);
103 } 103 }
104 } 104 }
105 105
106 106
107 </script> 107 </script>
108 <script src="../../fast/js/resources/js-test-post.js"></script>
109 </body> 108 </body>
110 </html> 109 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698