In terms of web design, Mozilla's MDN defines viewport as follows:
A viewport represents a polygonal (normally rectangular) area in computer graphics that is currently being viewed. (clipped for brevity)
It mentions "normally rectangular" in this definition, which makes me wonder: in what case would an HTML viewport not be rectangular?
Theoretical cases aside: When the website is being viewed on a recent iPhone or other phone with a notch.