Title: [102461] trunk/LayoutTests
Revision
102461
Author
[email protected]
Date
2011-12-09 11:48:46 -0800 (Fri, 09 Dec 2011)

Log Message

Try to deflake a repaint test on Chromium.  It looks like we're
calling lTC.display() before the inital layout.  Force a layout
before calling lTC.display().

Reviewed by Ojan Vafai.

* fast/replaced/width100percent-textarea.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (102460 => 102461)


--- trunk/LayoutTests/ChangeLog	2011-12-09 19:34:56 UTC (rev 102460)
+++ trunk/LayoutTests/ChangeLog	2011-12-09 19:48:46 UTC (rev 102461)
@@ -1,5 +1,15 @@
 2011-12-09  Tony Chang  <[email protected]>
 
+        Try to deflake a repaint test on Chromium.  It looks like we're
+        calling lTC.display() before the inital layout.  Force a layout
+        before calling lTC.display().
+
+        Reviewed by Ojan Vafai.
+
+        * fast/replaced/width100percent-textarea.html:
+
+2011-12-09  Tony Chang  <[email protected]>
+
         [chromium] Update test_expectations.txt to match the bots.
 
         * platform/chromium/test_expectations.txt:

Modified: trunk/LayoutTests/fast/replaced/width100percent-textarea.html (102460 => 102461)


--- trunk/LayoutTests/fast/replaced/width100percent-textarea.html	2011-12-09 19:34:56 UTC (rev 102460)
+++ trunk/LayoutTests/fast/replaced/width100percent-textarea.html	2011-12-09 19:48:46 UTC (rev 102461)
@@ -6,8 +6,12 @@
 </head>
 <body>
 <script>
-if (window.layoutTestController)
+if (window.layoutTestController) {
+    // Force intial layout.
+    document.body.offsetTop;
+
     layoutTestController.display();
+}
 </script>
 
 The textareas below should not overlap.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to