1 2 3 4 5
<!-- only intrinsic ratio (portrait) --> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 6"> <rect width="100%" height="100%" fill="red"/> </svg>