<!DOCTYPE html>
<style>
.paintroot {
will-change: transform;
position: absolute;
left: 5px;
top: 50px;
}
</style>
Tests that we paint area outline properly when the paintroot is shifted.
<div class=paintroot>
<img src="./resources/green.jpg" width=50 height=50 usemap="#map"/>
<map name="map"><area id=area shape="rectangle" coords="5, 5, 25, 25" href="#"></map>
</div>
<script>
area.focus();
</script>