7 background-color: pink;
8 transform: translateZ(
0)
15 background-color: salmon;
16 transition: opacity
5ms;
25 <div id=
"child"></div>
29 if (window
.testRunner
) {
30 testRunner
.dumpAsText();
31 testRunner
.waitUntilDone();
34 requestAnimationFrame(function() {
35 requestAnimationFrame(function() {
36 document
.getElementById('parent').classList
.add('fade');
37 document
.getElementById('child').addEventListener('transitionend', function() {
38 if (window
.testRunner
) {
39 document
.getElementsByTagName('pre')[0].textContent
= window
.internals
.layerTreeAsText(document
);
40 setTimeout(function() {
41 testRunner
.notifyDone();