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