Title: [87465] trunk/LayoutTests
Revision
87465
Author
[email protected]
Date
2011-05-26 21:14:46 -0700 (Thu, 26 May 2011)

Log Message

2011-05-26  Ryosuke Niwa  <[email protected]>

        Reviewed by Simon Fraser.

        editing/pasteboard/style-from-rules.html is flaky on Mac bots
        https://bugs.webkit.org/show_bug.cgi?id=61586

        Don't attach an event listener to dump markup on paste when ran by DRT
        because we manually dump markup in DRT.

        * editing/pasteboard/style-from-rules.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (87464 => 87465)


--- trunk/LayoutTests/ChangeLog	2011-05-27 03:24:02 UTC (rev 87464)
+++ trunk/LayoutTests/ChangeLog	2011-05-27 04:14:46 UTC (rev 87465)
@@ -1,3 +1,15 @@
+2011-05-26  Ryosuke Niwa  <[email protected]>
+
+        Reviewed by Simon Fraser.
+
+        editing/pasteboard/style-from-rules.html is flaky on Mac bots
+        https://bugs.webkit.org/show_bug.cgi?id=61586
+
+        Don't attach an event listener to dump markup on paste when ran by DRT
+        because we manually dump markup in DRT.
+
+        * editing/pasteboard/style-from-rules.html:
+
 2011-05-26  Yuta Kitamura  <[email protected]>
 
         Reviewed by Kent Tamura.

Modified: trunk/LayoutTests/editing/pasteboard/style-from-rules.html (87464 => 87465)


--- trunk/LayoutTests/editing/pasteboard/style-from-rules.html	2011-05-27 03:24:02 UTC (rev 87464)
+++ trunk/LayoutTests/editing/pasteboard/style-from-rules.html	2011-05-27 04:14:46 UTC (rev 87465)
@@ -17,7 +17,7 @@
 <div id="copy" contenteditable><blockquote title="none">hello</blockquote>
 <p title="none"><span class="red" style="font-size: 1em; font-weight: bold;" title="font-size: 1em; font-weight: bold;">world</span>
 <em style="color: blue;" title="font-style: normal; font-weight: bold; color: blue;">WebKit</em></p></div>
-<div id="paste" _onpaste_="setTimeout(dump, 0)" contenteditable></div>
+<div id="paste" contenteditable></div>
 </section>
 <script src=""
 <script>
@@ -36,7 +36,8 @@
     document.execCommand('Paste', false, null);
     dump();
     document.getElementById('container').style.display = 'none';
-}
+} else
+    document.getElementById('paste').addEventListener('paste', function () { setTimeout(dump, 0); }, false);
 
 </script>
 </body>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to