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

Side by Side Diff: third_party/WebKit/PerformanceTests/Layout/ArabicLineLayout.html

Issue 1557953002: Revert unfinished work of "full-frame-measurement" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@PerfPaint
Patch Set: Created 4 years, 11 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 | « build/all.gyp ('k') | third_party/WebKit/PerformanceTests/Layout/Shapes/MultipleShapes.html » ('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 <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 <title>Arabic Line breaking performance test</title> 5 <title>Arabic Line breaking performance test</title>
6 <script src="../resources/runner.js"></script> 6 <script src="../resources/runner.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <!-- Example Arabic from Wikisource of One Thousand and One Nights, first tw o sections, 9 <!-- Example Arabic from Wikisource of One Thousand and One Nights, first tw o sections,
10 http://ar.wikisource.org/wiki/%D8%A3%D9%84%D9%81_%D9%84%D9%8A%D9%84%D8% A9_%D9%88%D9%84%D9%8A%D9%84%D8%A9/%D8%A7%D9%84%D8%AC%D8%B2%D8%A1_%D8%A7%D9%84%D8 %A3%D9%88%D9%84 10 http://ar.wikisource.org/wiki/%D8%A3%D9%84%D9%81_%D9%84%D9%8A%D9%84%D8% A9_%D9%88%D9%84%D9%8A%D9%84%D8%A9/%D8%A7%D9%84%D8%AC%D8%B2%D8%A1_%D8%A7%D9%84%D8 %A3%D9%88%D9%84
(...skipping 18 matching lines...) Expand all
29 مثل ما يفنى السرور&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;هكذا تفنى الهموم</di v> 29 مثل ما يفنى السرور&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;هكذا تفنى الهموم</di v>
30 <p>فلما سمع الوزير من ابنته هذا الكلام حكى لها ما جرى له من الأول إلى ال آخر مع الملك فقالت له: بالله يا أبت زوجني هذا الملك فإما أن أعيش وإما أن أكون فد اء لبنات المسلمين وسببًا لخلاصهن من بين يديه فقال لها: بالله عليك لا تخاطري بنفس ك أبدًا فقالت له: لا بد من ذلك فقال: أخشى عليك أن يحصل لكن ما حصل الحمار والثور مع صاحب الزرع فقالت له: وما الذي جرى لهما يا أبت؟</p> 30 <p>فلما سمع الوزير من ابنته هذا الكلام حكى لها ما جرى له من الأول إلى ال آخر مع الملك فقالت له: بالله يا أبت زوجني هذا الملك فإما أن أعيش وإما أن أكون فد اء لبنات المسلمين وسببًا لخلاصهن من بين يديه فقال لها: بالله عليك لا تخاطري بنفس ك أبدًا فقالت له: لا بد من ذلك فقال: أخشى عليك أن يحصل لكن ما حصل الحمار والثور مع صاحب الزرع فقالت له: وما الذي جرى لهما يا أبت؟</p>
31 </div> 31 </div>
32 <script> 32 <script>
33 var target = document.getElementById("target"); 33 var target = document.getElementById("target");
34 var style = target.style; 34 var style = target.style;
35 35
36 function test() { 36 function test() {
37 style.display = "block"; 37 style.display = "block";
38 style.width = "280px"; 38 style.width = "280px";
39 PerfTestRunner.forceLayoutOrFullFrame(); 39 PerfTestRunner.forceLayout();
40 style.width = "300px"; 40 style.width = "300px";
41 PerfTestRunner.forceLayoutOrFullFrame(); 41 PerfTestRunner.forceLayout();
42 style.width = "290px"; 42 style.width = "290px";
43 PerfTestRunner.forceLayoutOrFullFrame(); 43 PerfTestRunner.forceLayout();
44 style.display = "none"; 44 style.display = "none";
45 } 45 }
46 46
47 PerfTestRunner.measureRunsPerSecond({ 47 PerfTestRunner.measureRunsPerSecond({
48 description: "Measures performance of layout on a page containing Ar abic.", 48 description: "Measures performance of layout on a page containing Ar abic.",
49 run: test 49 run: test
50 }); 50 });
51 </script> 51 </script>
52 </body> 52 </body>
53 </html> 53 </html>
OLDNEW
« no previous file with comments | « build/all.gyp ('k') | third_party/WebKit/PerformanceTests/Layout/Shapes/MultipleShapes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698