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

Side by Side Diff: LayoutTests/compositing/overlap-map-stack-crash.html

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 years, 3 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 4
5 <style> 5 <style>
6 #container { 6 #container {
7 position: absolute; 7 position: absolute;
8 z-index: 0; 8 z-index: 0;
9 top: 50px; 9 top: 50px;
10 left: 50px; 10 left: 50px;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 if (window.internals) { 46 if (window.internals) {
47 window.internals.settings.setForceCompositingMode(false); 47 window.internals.settings.setForceCompositingMode(false);
48 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled( true); 48 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled( true);
49 } 49 }
50 50
51 function doTest() { 51 function doTest() {
52 if (!window.internals) 52 if (!window.internals)
53 document.getElementById("explanation").style.display = "block"; 53 document.getElementById("explanation").style.display = "block";
54 54
55 if (window.testRunner) 55 if (window.testRunner)
56 testRunner.dumpAsText(false); 56 testRunner.dumpAsText();
57 } 57 }
58 58
59 window.addEventListener("load", doTest, false); 59 window.addEventListener("load", doTest, false);
60 </script> 60 </script>
61 61
62 </head> 62 </head>
63 <body> 63 <body>
64 64
65 <div id="container"> 65 <div id="container">
66 <div id="compositedNegZIndex"> 66 <div id="compositedNegZIndex">
(...skipping 25 matching lines...) Expand all
92 92
93 - The problem, however, is that we never created an overlap context for 93 - The problem, however, is that we never created an overlap context for
94 these negative z-index non-composited layers. When the layers try to add 94 these negative z-index non-composited layers. When the layers try to add
95 themselves to the overlap, they try to access below the bottom of the 95 themselves to the overlap, they try to access below the bottom of the
96 stack, and crash. 96 stack, and crash.
97 </pre> 97 </pre>
98 98
99 </body> 99 </body>
100 100
101 </html> 101 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698