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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/writing-mode/broken-ideographic-font.html

Issue 2295653002: Use window.testRunner in if-clause (Closed)
Patch Set: a Created 4 years, 3 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
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Broken Ideographic Font</title> 4 <title>Broken Ideographic Font</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 6
7 <style type="text/css"> 7 <style type="text/css">
8 @font-face { 8 @font-face {
9 src: url(resources/MakibaFont13.ttf); 9 src: url(resources/MakibaFont13.ttf);
10 font-family: MakibaFace; 10 font-family: MakibaFace;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 <div class="lrblock"> 61 <div class="lrblock">
62 <div class="basic d0"><p>第一段落 paragraph 1</p><p>第二段落 paragraph 2</p></div> 62 <div class="basic d0"><p>第一段落 paragraph 1</p><p>第二段落 paragraph 2</p></div>
63 <div class="basic d1 vert"><p>第一段落 paragraph 1</p><p>第二段落 paragraph 2</p></div> 63 <div class="basic d1 vert"><p>第一段落 paragraph 1</p><p>第二段落 paragraph 2</p></div>
64 </div> 64 </div>
65 <script> 65 <script>
66 if (window.testRunner) 66 if (window.testRunner)
67 testRunner.waitUntilDone(); 67 testRunner.waitUntilDone();
68 68
69 document.body.offsetTop; 69 document.body.offsetTop;
70 var image = new Image(); 70 var image = new Image();
71 image.addEventListener("error", function() { if (testRunner) testRunner.noti fyDone(); }); 71 image.addEventListener("error", function() { if (window.testRunner) testRunn er.notifyDone(); });
72 image.src = "resources/MakibaFont13.ttf"; 72 image.src = "resources/MakibaFont13.ttf";
73 </script> 73 </script>
74 </body> 74 </body>
75 </html> 75 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698