composited-table-background-initial-empty.html 527 B

123456789101112131415161718192021222324252627
  1. <!doctype html>
  2. <script src="../resources/text-based-repaint.js"></script>
  3. <script>
  4. function repaintTest() {
  5. target.style.backgroundColor = 'lightBlue';
  6. }
  7. onload = runRepaintAndPixelTest;
  8. </script>
  9. <style>
  10. td {
  11. padding: 0 24px;
  12. height: 64px;
  13. }
  14. </style>
  15. Test passes if all of the cells in the second row of the table have a blue background.
  16. <table>
  17. <tr>
  18. <td>A</td>
  19. <td>B</td>
  20. <td>C</td>
  21. </tr>
  22. <tr id="target">
  23. <td>D</td>
  24. <td style="will-change: transform;">E</td>
  25. <td>F</td>
  26. </tr>
  27. </table>