blob: 9d0dea54ec5260c3f189d24c58837bc658b5f53a [file] [log] [blame]
<!DOCTYPE html>
<script src="../resources/text-based-repaint.js"></script>
<script>
function repaintTest() {
// Changing the background position for an element without a background
// image should not trigger a repaint.
document.getElementById("container").style.backgroundPosition = "30% 30%";
}
window.onload = runRepaintTest;
</script>
<style>
#container {
width: 100px;
height: 100px;
background-color: green;
}
</style>
<div id="container"></div>