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

Unified Diff: LayoutTests/editing/selection/move-left-right.html

Issue 6911017: Merge 84919 - 2011-04-26 Ryosuke Niwa <rniwa@webkit.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/742/
Patch Set: Created 9 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/editing/selection/move-left-right-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/selection/move-left-right.html
===================================================================
--- LayoutTests/editing/selection/move-left-right.html (revision 85546)
+++ LayoutTests/editing/selection/move-left-right.html (working copy)
@@ -54,7 +54,11 @@
var result = "";
for (var i = 0; i < string.length; ++i) {
var char = string.charCodeAt(i);
- if (char >= 0x05d0)
+ if (char >= 0x0660) // Arabic numeral 0
+ char = char - 0x660 + '0'.charCodeAt(0);
+ else if (char >= 0x0627) // Alif
+ char = char - 0x0627 + 'A'.charCodeAt(0);
+ else if (char >= 0x05d0)
char -= 0x058f;
else if (char == 10) {
result += "\\n";
@@ -217,6 +221,10 @@
אבגabcdef
</div>
+ <div class="test">١٢٣ابة</div>
+
+ <div class="test">ابة١٢٣</div>
+
<div class="test">
<span>abc</span>אבגdef
</div>
@@ -343,6 +351,8 @@
<div class="test" style="white-space: pre;">אבג<!-- -->
<!-- -->דהו</div>
+ <div class="test">
+ <span dir="rtl">abcקקק123נננdef</span>
</div>
</div>
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/editing/selection/move-left-right-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698