OLD | NEW |
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 Loading... |
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 Loading... |
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> |
OLD | NEW |