<!DOCTYPE html>
<div style="zoom: 2; background-color: red; width: 50px">
<svg width="50" height="50" style="width: auto; height: auto; display: block">
<rect width="50" height="50" fill="green"/>
</svg>
</div>
<!DOCTYPE html>
<div style="zoom: 2; background-color: red; width: 50px">
<svg width="50" height="50" style="width: auto; height: auto; display: block">
<rect width="50" height="50" fill="green"/>
</svg>
</div>