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

Side by Side Diff: LayoutTests/fast/dynamic/paused-event-dispatch.html

Issue 82843003: Fire overflowchanged events at raf timing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add a test Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/dynamic/paused-event-dispatch-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <body onload="test()">
2 <script>
3 function overflowChanged()
4 {
5 document.getElementById("result").innerText = "PASS";
6 }
7
8 function test()
9 {
10 if (window.testRunner)
11 testRunner.waitUntilDone();
12
13 document.body.offsetTop;
14 var bottomBox = document.getElementById("bottomBox");
15 bottomBox.parentNode.removeChild(bottomBox);
16 document.addEventListener("overflowchanged", overflowChanged, true, true );
17 }
18
19 function iframeResized()
20 {
21 document.body.appendChild(document.createElement("div"));
22 if (window.testRunner)
23 testRunner.dumpAsText();
24
25 setTimeout(finish, 0);
26 }
27
28 function finish()
29 {
30 document.getElementById("tallBox").style.height = "50px";
31 if (window.testRunner)
32 testRunner.notifyDone();
33 }
34 </script>
35 <p>
36 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=16490">http://bu gs.webkit.org/show_bug.cgi?id=16490</a>
37 ASSERT in ~FrameView while viewing/reloading WICD test case</i>.
38 </p>
39 <div>
40 <iframe style="width: 100%;" src="resources/paused-event-dispatch-iframe.htm l"></iframe>
41 </div>
42 <div id="bottomBox" style="position: absolute; left: 0; top: 5000px; height: 10p x; width: 10px;"></div>
43 <div style="height: 100px; width: 100px; overflow: auto;" id="overflow">
44 <div style="height: 200px;" id="tallBox"></div>
45 </div>
46 <div id="result">FAIL</div>
47 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dynamic/paused-event-dispatch-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698