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

Side by Side Diff: LayoutTests/fast/text/international/iso-8859-8.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 1
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="ISO-8859-8"> 4 <meta charset="ISO-8859-8">
5 <body> 5 <body>
6 <p>Test rendering of ISO-8859-8. 6 <p>Test rendering of ISO-8859-8.
7 <p> 7 <p>
8 <div class="test">ùðá</div> 8 <div class="test">ùðá</div>
9 <div class="test">ùðá â÷ë </div> 9 <div class="test">ùðá â÷ë </div>
10 <div class="test">ùðá abc â÷ë</div> 10 <div class="test">ùðá abc â÷ë</div>
11 <div class="test">abc ùðá def</div> 11 <div class="test">abc ùðá def</div>
12 <div class="test">ùðá <span dir=ltr>â÷ë</span></div> 12 <div class="test">ùðá <span dir=ltr>â÷ë</span></div>
13 <div class="test">ùðá <span dir=rtl>â÷ë</span></div> 13 <div class="test">ùðá <span dir=rtl>â÷ë</span></div>
14 <ul id="console" dir=ltr></ul> 14 <ul id="console" dir=ltr></ul>
15 15
16 <script src="../../js/resources/js-test-pre.js"></script> 16 <script src="../../../resources/js-test.js"></script>
17 <script> 17 <script>
18 var succeed = true; 18 var succeed = true;
19 19
20 function checkClientRect(test, index, offset, dir, char) 20 function checkClientRect(test, index, offset, dir, char)
21 { 21 {
22 if (test.nodeType == 3) { 22 if (test.nodeType == 3) {
23 for (var i = 0; i < test.textContent.length; ++i) { 23 for (var i = 0; i < test.textContent.length; ++i) {
24 range.setStart(test, i); 24 range.setStart(test, i);
25 range.setEnd(test, i+1); 25 range.setEnd(test, i+1);
26 rects = range.getClientRects(); 26 rects = range.getClientRects();
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 tests[i].style.direction = "rtl"; 58 tests[i].style.direction = "rtl";
59 checkClientRect(tests[i], i, 10000, "rtl", " "); 59 checkClientRect(tests[i], i, 10000, "rtl", " ");
60 60
61 tests[i].style.display = "none"; 61 tests[i].style.display = "none";
62 } 62 }
63 if (succeed == true) 63 if (succeed == true)
64 testPassed("Test completed successfully"); 64 testPassed("Test completed successfully");
65 </script> 65 </script>
66 </body> 66 </body>
67 </html> 67 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/text/font-size-zero.html ('k') | LayoutTests/fast/text/line-break-after-question-mark.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698