blob: ebd480d5796c8a15802cecaa1b95bfd257918616 [file] [log] [blame]
<!-- Based on fast/repaint/repaint-in-iframe.html -->
<!DOCTYPE html>
<html>
<head>
<script src="resources/paint-invalidation-test.js"></script>
<script>
window.onload = function() {
runPaintInvalidationTest();
};
function paintInvalidationTest() {
document.getElementsByTagName('iframe')[0]
.contentDocument
.getElementsByTagName('div')[0]
.style
.backgroundColor = 'green';
}
</script>
</head>
<div style="height: 400px"></div>
<iframe srcdoc="<div style='height: 50px; width: 50px; background-color: red;'></div>"></iframe>