javascript - Why do HTML/SVG Coordinate 0,0 starts at top left corner? -



javascript - Why do HTML/SVG Coordinate 0,0 starts at top left corner? -

just wondering whats reasoning behind saying 0,0 top left corner in browser both html/svg? there advantage this?

it goes against conventional wisdom (classic geometry) y values become greater in value lower on screen.

because that's how css predates svg works.

in cases, such stand-alone svg documents or svg document fragments embedded (by reference or inline) within xml parent documents parent's layout determined css [css2] or xsl [xsl], initial viewport coordinate scheme (and hence initial user coordinate system) has origin @ top/left of viewport, positive x-axis pointing towards right, positive y-axis pointing down,

javascript html svg

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -