<!DOCTYPE html> | |
<body style="background: ; width: 800px; height: 2000px;"> | |
</body> | |
<script src="../resources/text-based-repaint.js" type="text/javascript"></script> | |
<script> | |
// Tests that repaint when changing a document background image invalidates the whole document, not just the part that is visible on the screen. | |
function repaintTest() { | |
document.body.style.background = 'url(../resources/ducky.png)'; | |
} | |
runRepaintTest(); | |
</script> |