<!DOCTYPE html> | |
<style> | |
td { border: 2px solid blue; } | |
</style> | |
<table style="width: 200px; height: 200px; border-collapse: collapse"> | |
<tbody id="tbody" style="background: red; visibility: hidden"> | |
<tr> | |
<td style="visibility: visible"></td> | |
<td></td> | |
</tr> | |
</tbody> | |
</table> | |
<script src="../resources/text-based-repaint.js"></script> | |
<script> | |
function repaintTest() { | |
tbody.style.background = 'green'; | |
} | |
onload = runRepaintAndPixelTest; | |
</script> | |