Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!doctype html> | |
| 2 <script src="../../resources/run-after-layout-and-paint.js"></script> | |
| 3 <style> | |
| 4 td { | |
| 5 padding: 0 24px; | |
| 6 height: 64px; | |
| 7 } | |
| 8 </style> | |
| 9 Test passes if all of the cells in the second row of the table have a blue backg round. | |
| 10 <table> | |
| 11 <tr> | |
| 12 <td>A</td> | |
| 13 <td>B</td> | |
| 14 <td>C</td> | |
| 15 </tr> | |
| 16 <tr id="target"> | |
| 17 <td>D</td> | |
| 18 <td style="will-change: transform;">E</td> | |
| 19 <td>F</td> | |
| 20 </tr> | |
| 21 </table> | |
| 22 <script> | |
| 23 runAfterLayoutAndPaint(function() { | |
| 24 target.style.backgroundColor = 'lightBlue'; | |
| 25 }); | |
| 26 </script> | |
| OLD | NEW |