| <!doctype HTML> |
| <div style="will-change: transform; position: fixed"></div> |
| <div style="position: relative; border: 1px solid black;"> |
| <div id="target" style="opacity: 1; height: 100px; width: 200px;"> |
| This text should be very light |
| </div> |
| </div> |
| <script src="../../resources/run-after-layout-and-paint.js"></script> |
| <script> |
| if (window.testRunner) |
| window.testRunner.waitUntilDone(); |
| onload = function() { |
| runAfterLayoutAndPaint(function() { |
| target.style.opacity = 0.2; |
| testRunner.notifyDone(); |
| }); |
| } |
| </script> |