Changeset 87465 in webkit


Ignore:
Timestamp:
May 26, 2011 9:14:46 PM (13 years ago)
Author:
rniwa@webkit.org
Message:

2011-05-26 Ryosuke Niwa <rniwa@webkit.org>

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:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r87464 r87465  
     12011-05-26  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Reviewed by Simon Fraser.
     4
     5        editing/pasteboard/style-from-rules.html is flaky on Mac bots
     6        https://bugs.webkit.org/show_bug.cgi?id=61586
     7
     8        Don't attach an event listener to dump markup on paste when ran by DRT
     9        because we manually dump markup in DRT.
     10
     11        * editing/pasteboard/style-from-rules.html:
     12
    1132011-05-26  Yuta Kitamura  <yutak@chromium.org>
    214
  • trunk/LayoutTests/editing/pasteboard/style-from-rules.html

    r87400 r87465  
    1818<p title="none"><span class="red" style="font-size: 1em; font-weight: bold;" title="font-size: 1em; font-weight: bold;">world</span>
    1919<em style="color: blue;" title="font-style: normal; font-weight: bold; color: blue;">WebKit</em></p></div>
    20 <div id="paste" onpaste="setTimeout(dump, 0)" contenteditable></div>
     20<div id="paste" contenteditable></div>
    2121</section>
    2222<script src="../../resources/dump-as-markup.js"></script>
     
    3737    dump();
    3838    document.getElementById('container').style.display = 'none';
    39 }
     39} else
     40    document.getElementById('paste').addEventListener('paste', function () { setTimeout(dump, 0); }, false);
    4041
    4142</script>
Note: See TracChangeset for help on using the changeset viewer.