<!DOCTYPE html> | |
<style> | |
div { | |
margin: 50px; | |
border-width: 10px; | |
border-style: solid; | |
width: 100px; | |
height: 100px; | |
} | |
</style> | |
<div id="fixedColor" style="border-color: blue"></div> | |
<div id="currentColor" style="border-color: currentColor"></div> | |
<script src="../resources/text-based-repaint.js"></script> | |
<script> | |
function repaintTest() { | |
fixedColor.style.color = 'green'; | |
currentColor.style.color = 'green'; | |
} | |
onload = runRepaintAndPixelTest; | |
</script> |