| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| "http://www.w3.org/TR/html4/loose.dtd"> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| <title>Opacity between absolutes</title> |
| <style type="text/css" media="screen"> |
| -webkit-transform: translateZ(0); |
| -webkit-transform-style: preserve-3d; |
| -webkit-transition: opacity 100s; |
| .container:hover .fader { |
| background-color: orange; |
| <script type="text/javascript" charset="utf-8"> |
| testRunner.waitUntilDone(); |
| // Kick off an opacity fade to make .fader into a compositing layer |
| var container = document.querySelectorAll('.fader')[0]; |
| container.style.opacity = 0.99; |
| window.setTimeout(function() { |
| // Now test redraw on .inner |
| var inner = document.querySelectorAll('.inner')[0]; |
| inner.style.backgroundColor = 'green'; |
| window.addEventListener('load', runTest, false) |
| <p>This test should not assert, and you should see a fully green square.</p> |