Title: [92228] trunk/LayoutTests
Revision
92228
Author
ander...@apple.com
Date
2011-08-02 14:06:38 -0700 (Tue, 02 Aug 2011)

Log Message

Reviewed by Sam Weinig.

* fast/blockflow/japanese-rl-text-with-broken-font.html:
This test would create an empty RenderText after the change to make it asynchronous.
Fix this by putting the script inside the head.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (92227 => 92228)


--- trunk/LayoutTests/ChangeLog	2011-08-02 21:06:10 UTC (rev 92227)
+++ trunk/LayoutTests/ChangeLog	2011-08-02 21:06:38 UTC (rev 92228)
@@ -1,3 +1,11 @@
+2011-08-02  Anders Carlsson  <ander...@apple.com>
+
+        Reviewed by Sam Weinig.
+
+        * fast/blockflow/japanese-rl-text-with-broken-font.html:
+        This test would create an empty RenderText after the change to make it asynchronous.
+        Fix this by putting the script inside the head.
+
 2011-08-02  Van Lam  <van...@google.com>
 
         --webkit-visual-word: ctrl-arrow is not able to reach the boundary of line

Modified: trunk/LayoutTests/fast/blockflow/japanese-rl-text-with-broken-font.html (92227 => 92228)


--- trunk/LayoutTests/fast/blockflow/japanese-rl-text-with-broken-font.html	2011-08-02 21:06:10 UTC (rev 92227)
+++ trunk/LayoutTests/fast/blockflow/japanese-rl-text-with-broken-font.html	2011-08-02 21:06:38 UTC (rev 92228)
@@ -12,14 +12,17 @@
     font-size: 16pt;
 }
 </style>
+<script>
+if (window.layoutTestController)
+    layoutTestController.waitUntilDone();
+
+window._onload_ = function() {
+    document.body.offsetTop;
+    if (window.layoutTestController)
+        setTimeout(function() { layoutTestController.notifyDone(); }, 100);
+}
+</script>
 </head>
 <body style="border:5px solid black;">
 せっかく見つけたすばらしい記事がどこにあったか忘れてしまった経験はありますかならタイトルとアドレスだけでなく、訪問したウェブページのコンテンツからも検索することができます。せっかく見つけたすばらしい記事がどこにあったか忘れてしまった経験はありますか ならタイトルとアドレスだけでなく、訪問したウェブページのコンテンツからも検索することができます。訪問したウェブページのコンテンツからも検索することができます。せっかく見つけたすばらしい記事がどこにあったか忘れてしまった経験はありますか ならタイトルとアドレスだけでなく、訪問
-    <script>
-        if (window.layoutTestController) {
-            layoutTestController.waitUntilDone();
-            document.body.offsetTop;
-            setTimeout(function() { layoutTestController.notifyDone(); }, 100);
-        }
-    </script>
 </body>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to