4 <style type=
"text/css">
6 background-color: green
;
16 background-color: red
;
26 background-color: #6d6d6d;
28 margin: 64px 0px 1920px 0px;
31 transform: translateZ
(0);
34 <script src=
"../../resources/run-after-layout-and-paint.js"></script>
35 <script type=
"text/javascript" charset=
"utf-8">
36 if (window.testRunner) {
37 testRunner.dumpAsTextWithPixelResults();
38 testRunner.waitUntilDone();
43 window.scrollBy(
0,-
2048);
44 window.scrollBy(
0,
160);
45 runAfterLayoutAndPaint(function() {
46 window.scrollBy(
0,-
96);
47 if (window.testRunner)
48 testRunner.notifyDone();
51 window.addEventListener('load', doTest, false);
55 <div class=
"absolute"></div>
56 <div class=
"fixed"></div>
57 <div class=
"transformed"></div>
58 <p> For this test to pass, you should not see a red line when scroll position is less or equal to
64px from the top.
</p>