1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
5 <meta http-equiv=
"Content-type" content=
"text/html; charset=utf-8">
6 <title>Layer repaint
</title>
7 <style type=
"text/css" media=
"screen">
17 border:
1px solid black;
22 background-color: #
8888FF;
30 #container.over #translate {
31 transform: translate(
200px,
0px);
32 -webkit-transition-property: -webkit-transform;
33 -webkit-transition-duration:
0.1s;
37 background-color: red !important;
39 #container.over #widen {
41 -webkit-transition-property: width;
42 -webkit-transition-duration:
0.1s;
47 background-color: green;
54 <script type=
"text/javascript" charset=
"utf-8">
56 if (window.testRunner)
57 testRunner.waitUntilDone();
61 var container = document.getElementById('container');
62 container.addEventListener('webkitTransitionEnd', function() {
63 container.className = '';
64 if (window.testRunner)
65 testRunner.notifyDone();
67 container.className = 'over';
69 window.addEventListener('load', startTest, false);
74 <p>Tests repaint after a layer stops compositing. You should see no red below after the end of the transition.
</p>
76 <div id=
"translate"></div>
77 <div id=
"widen"></div>
80 <div id=
"tester"></div>