<!DOCTYPE html> | |
<style> | |
.container { | |
transform: scale(2); | |
position: absolute; | |
left: 100px; | |
top: 100px; | |
width: 100px; | |
height: 100px; | |
} | |
</style> | |
Tests that we paint area outline properly when the image's container is scaled. | |
<div class=container> | |
<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> |