1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
6 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8">
7 <title>Opacity between absolutes
</title>
8 <style type=
"text/css" media=
"screen">
13 border:
1px solid black;
14 transform: translateZ(
0);
15 -webkit-transform-style: preserve-
3d;
22 border:
1px solid black;
23 -webkit-transition: opacity
100s;
26 .container:hover .fader {
36 background-color: gray;
40 background-color: orange;
43 <script type=
"text/javascript" charset=
"utf-8">
44 if (window.testRunner)
45 testRunner.waitUntilDone();
49 // Kick off an opacity fade to make .fader into a compositing layer
50 var container = document.querySelectorAll('.fader')[
0];
51 container.style.opacity =
0.99;
52 window.setTimeout(function() {
53 // Now test redraw on .inner
54 var inner = document.querySelectorAll('.inner')[
0];
55 inner.style.backgroundColor = 'green';
56 if (window.testRunner)
57 testRunner.notifyDone();
61 window.addEventListener('load', runTest, false)
65 <p>This test should not assert, and you should see a fully green square.
</p>
66 <div class=
"container">