4 <style type='text/css'>
10 background-color: green;
29 -webkit-perspective: 1px;
32 <script src="../../../resources/run-after-display.js"></script>
34 if (window.testRunner) {
35 testRunner.dumpAsTextWithPixelResults();
40 if (window.testRunner)
41 testRunner.waitUntilDone();
43 // Any scroll should keep the fixed-position element where it is.
44 // If it stutters or disappears incorrectly, then the red background will be revealed.
45 window.scrollTo(0, 150);
47 if (window.testRunner) {
48 runAfterDisplay(function() {
49 testRunner.notifyDone();
54 window.addEventListener('load', doTest, false);
58 <div class="green fixed box">
59 <div class="container">
60 <div class="perspective"></div>