5 p { height: 100px; width: 100px; margin: 0px; }
6 p.red { background-color: red; }
7 p.green { background-color: green; }
8 div { height: 100px; width: 100px; }
9 div.relative { position: relative }
12 transform: translateZ(0);
16 transform: translate(0);
20 if (window.testRunner)
21 testRunner.dumpAsTextWithPixelResults();
25 <!-- This test should be a ref-test but small scrollbars difference between platforms makes it fail. -->
26 <span>http://webkit.org/b/67100: REGRESSION (r93614): Safari Reader doesn't repaint correctly when scrolling</span><br/>
27 <span>All the boxes should only contain green content.</span>
28 <!-- Use a translation. -->
29 <div class="scrollMe composited" style="overflow: hidden;">
30 <div class="relative">
37 <div class="scrollMe composited" style="overflow: scroll;">
38 <div class="relative">
45 <!-- Nest composited and non-composited. -->
46 <div class="scrollMe composited" style="overflow: hidden;">
47 <div class="relative translated">
54 <div class="scrollMe translated" style="overflow: scroll;">
55 <div class="relative composited">
63 var scrollMes = document.getElementsByClassName("scrollMe");
64 for (var i = 0; i < scrollMes.length; ++i)
65 scrollMes[i].scrollTop = 100;