1 <!-- Based on fast/repaint/fixed-tranformed.html -->
6 <style type=
"text/css" media=
"screen">
14 background-color: red;
18 transform: translate(
50px,
50px);
22 background-color: green;
25 <script src=
"resources/paint-invalidation-test.js" type=
"text/javascript"></script>
26 <script type=
"text/javascript">
27 window
.expectedPaintInvalidationObjects
= [
28 "LayoutBlockFlow (positioned) DIV id='test'",
30 function paintInvalidationTest()
32 document
.getElementById('test').style
.background
='green';
35 function setupTest() {
36 window
.scrollBy(0, 50);
37 runPaintInvalidationTest();
39 window
.addEventListener('load', setupTest
, false);
45 https://bugs.webkit.org/show_bug.cgi?id=36686
46 Test repainting of a fixed-position element with a transform.
47 The box should be entirely green.