Comment on It's 2020 and I'm using image mapsparentComments−perilunar6yI think the ordering of coordinates for map regions makes more sense than the css margin/padding order:rect: left, top, right, bottomcircle: cx,cy,rpoly: x1,y1,x2,y2,...−danellis6yThey both make sense for their respective use cases. An image has a fixed size. An HTML element does not necessarily. You can't measure the the right border from the left of an element if you don't know how big it is.
Comments
I think the ordering of coordinates for map regions makes more sense than the css margin/padding order:
rect: left, top, right, bottom
circle: cx,cy,r
poly: x1,y1,x2,y2,...
They both make sense for their respective use cases. An image has a fixed size. An HTML element does not necessarily. You can't measure the the right border from the left of an element if you don't know how big it is.