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

Unified Diff: LayoutTests/fast/events/mouseover-mouseout2.html

Issue 1288483003: Skipping mouseenter/over/out/leave on deleted nodes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/events/mouseover-mouseout2.html
diff --git a/LayoutTests/fast/events/mouseover-mouseout2.html b/LayoutTests/fast/events/mouseover-mouseout2.html
index 37722648e415cf981f49216cbfe9e03ba2762f27..628a9639bbdcdbba7a2f4170f5ffff2af21dc574 100644
--- a/LayoutTests/fast/events/mouseover-mouseout2.html
+++ b/LayoutTests/fast/events/mouseover-mouseout2.html
@@ -69,24 +69,15 @@ Mouse events vs. DOM manipulation.</p>
<!-- 6: Nothing but a rainbow end -->
<div style='height: 50; width: 50; background:violet;top:100;left:350; position:absolute;' id='t6'
onMouseOver="logMouseEvent(event); document.getElementById('t6').style.backgroundColor = 'white'"
- onMouseOut="
- logMouseEvent(event);
- document.getElementById('t6').style.backgroundColor = 'gray';
- if (top.document.getElementById('log').innerHTML == top.document.getElementById('exp').innerHTML) {
- top.document.getElementById('success').style.display = 'block';
- }
- ">6</div>
+ onMouseOut="logMouseEvent(event)">6</div>
<table border=1 width="100%" style='top:200; position:absolute'>
-<tr><td width="50%">Log</td><td>Expected results</td></tr>
+<tr><td width="50%">Log</td></tr>
<tr>
<td id=log style="vertical-align:top"></td>
- <td id=exp style="vertical-align:top"><LI>mouseover on frame1</LI><LI>mouseover on t1</LI><LI>mouseout on t1</LI><LI>mouseout on frame1</LI><LI>mouseover on frame2</LI><LI>mouseover on t2</LI><LI>mouseout on t2</LI><LI>mouseout on frame2</LI><LI>mouseover on frame3</LI><LI>mouseover on t3_1</LI><LI>mouseout on t3_1</LI><LI>mouseout on frame3</LI><LI>mouseover on t3_2</LI><LI>mouseout on t3_2</LI><LI>mouseover on t4_2</LI><LI>mouseout on t4_2</LI><LI>mouseover on frame4</LI><LI>mouseover on t4_1</LI><LI>mouseout on t4_1</LI><LI>mouseout on frame4</LI><LI>mouseover on frame5</LI><LI>mouseover on t5_1</LI><LI>mouseout on frame5</LI><LI>mouseover on t5_2</LI><LI>mouseout on t5_2</LI><LI>mouseover on t6</LI><LI>mouseout on t6</LI></td>
</tr>
</table>
-<div style='height: 50; width: 300; top:100;left:100; position:absolute; display:none' id='success'><br><center>SUCCESS</center></div>
-
<script>
function autoTest() {
if (window.testRunner) {
« no previous file with comments | « LayoutTests/fast/events/mouseover-mouseout-expected.txt ('k') | LayoutTests/fast/events/mouseover-mouseout2-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698