3 <link rel=
"stylesheet" href=
"resources/default.css">
6 transform: scale(
2,
2);
9 <script src=
"resources/text-based-repaint.js"></script>
11 if (window
.testRunner
)
12 testRunner
.dumpAsTextWithPixelResults();
14 window
.onload = function() {
15 window
.scrollTo(0, 200);
19 function repaintTest()
21 document
.getElementById('t').setAttribute("class", "green translated");
25 <body style=
"height:2000px;">
26 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: Layer fixed position logic needs more basic testing -->
27 <!-- You should see no red on this page. -->
28 <div style=
"position: absolute; top: 300px; left: 100px;" class=
"red"></div>
29 <div id=
"t" style=
"position: fixed; top: 125px; left: 125px; width: 50px; height: 50px;" class=
"green"></div>