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);
21 border:
1px solid black;
22 -webkit-transition: opacity
100s;
25 .container:hover .fader {
35 background-color: gray;
39 background-color: orange !important;
42 <script type=
"text/javascript" charset=
"utf-8">
43 if (window.testRunner)
44 testRunner.waitUntilDone();
48 // Kick off an opacity fade to make .fader into a compositing layer
49 var container = document.querySelectorAll('.fader')[
1];
50 container.style.opacity =
0.99;
51 window.setTimeout(function() {
52 // Now test redraw on .inner
53 var inner = document.querySelectorAll('.inner')[
0];
54 inner.style.backgroundColor = 'green';
55 if (window.testRunner)
56 testRunner.notifyDone();
60 window.addEventListener('load', runTest, false)
64 <p>This test should not assert, and you should see a fully green square.
</p>
65 <div class=
"container">