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

Side by Side Diff: LayoutTests/editing/text-iterator/first-letter-rtl-crash.html

Issue 7350003: Merge 89831 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 5 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
« no previous file with comments | « no previous file | LayoutTests/editing/text-iterator/first-letter-rtl-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <style> 3 <style>
4 body:first-letter { color: black; } 4 body:first-letter { color: black; }
5 </style> 5 </style>
6 <script> 6 <script>
7 7
8 function run() { 8 function run() {
9 document.execCommand('findString', false, '!ABC'); 9 document.execCommand('findString', false, '!ABC');
10 document.body.innerHTML = '<br>This test ensures WebKit does not crash when first-letter rule is applied to LTR letters that ' + 10 document.body.innerHTML = '<br>This test ensures WebKit does not crash when first-letter rule is applied to LTR letters that ' +
11 ' are not visually contiguous to each other.<br>PASS'; 11 ' are not visually contiguous to each other.<br>PASS';
12 if (window.layoutTestController) 12 if (window.layoutTestController)
13 layoutTestController.dumpAsText(); 13 layoutTestController.dumpAsText();
14 } 14 }
15 15
16 </script> 16 </script>
17 <body style="direction: rtl;" onload="run()">!ABC&#x202E;</body> 17 <body style="direction: rtl;" onload="run()">!ABC&#x202E;</body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/text-iterator/first-letter-rtl-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698