Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!doctype HTML> | |
| 2 <div style="will-change: transform; position: fixed"></div> | |
| 3 <div style="position: relative; border: 1px solid black;"> | |
| 4 <div id="target" style="opacity: 1; height: 100px; width: 200px;"> | |
|
chrishtr
2015/09/14 23:07:52
First we paint two composited layers: one for the
| |
| 5 This text should be very light | |
| 6 </div> | |
| 7 </div> | |
| 8 <script src="../../resources/run-after-layout-and-paint.js"></script> | |
| 9 <script> | |
| 10 if (window.testRunner) | |
| 11 window.testRunner.waitUntilDone(); | |
| 12 onload = function() { | |
| 13 runAfterLayoutAndPaint(function() { | |
| 14 target.style.opacity = 0.2; | |
| 15 testRunner.notifyDone(); | |
| 16 }); | |
| 17 } | |
| 18 </script> | |
| OLD | NEW |