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

Side by Side Diff: LayoutTests/fast/dynamic/layer-no-longer-paginated.html

Issue 183703003: Remove more testRunner.display() calls from LayoutTests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Ditch fast/text/font-initial changes too Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <script src="../../resources/run-after-display.js"></script>
1 <body style="overflow: hidden;"> 2 <body style="overflow: hidden;">
2 <p> 3 <p>
3 Test for <i><a href="rdar://problem/10098679">&lt;rdar://problem/1009867 9></a> 4 Test for <i><a href="rdar://problem/10098679">&lt;rdar://problem/1009867 9></a>
4 Assertion failure in <tt>RenderLayer::paintPaginatedChildLayer()</tt></i >. 5 Assertion failure in <tt>RenderLayer::paintPaginatedChildLayer()</tt></i >.
5 </p> 6 </p>
6 <p> 7 <p>
7 The test passes if it does not cause an assertion failure or a crash. 8 The test passes if it does not cause an assertion failure or a crash.
8 </p> 9 </p>
9 <!-- specifying opacity < 1 so that the transition from having columns 10 <!-- specifying opacity < 1 so that the transition from having columns
10 to not having columns does not cause the layer to go away --> 11 to not having columns does not cause the layer to go away -->
11 <div id="target" style="-webkit-column-count:2; column-count:2; column-fill: auto; opacity: 0.5; height: 20px;"> 12 <div id="target" style="-webkit-column-count:2; column-count:2; column-fill: auto; opacity: 0.5; height: 20px;">
12 <div style="position:relative;"></div> 13 <div style="position:relative;"></div>
13 </div> 14 </div>
14 <div id="widener" style="height: 10px; width: 200%;"></div> 15 <div id="widener" style="height: 10px; width: 200%;"></div>
15 <script> 16 <script>
16 function test() 17 function test()
17 { 18 {
18 document.getElementById("widener").style.removeProperty("width"); 19 document.getElementById("widener").style.removeProperty("width");
19 document.getElementById("target").style.removeProperty("-webkit-colu mn-count"); 20 document.getElementById("target").style.removeProperty("-webkit-colu mn-count");
20 } 21 }
21
22 window.scrollBy(1, 0);
23 22
24 if (window.testRunner) { 23 window.scrollBy(1, 0);
25 testRunner.display(); 24 if (window.testRunner)
26 testRunner.dumpAsText(); 25 testRunner.dumpAsText();
27 test(); 26 runAfterDisplay(test);
28 } else
29 setTimeout(test, 500);
30
31 </script> 27 </script>
32 </body> 28 </body>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Window/post-message-crash.html ('k') | LayoutTests/fast/events/touch/gesture/pad-gesture-cancel.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698