- From: Dirk Schulze <dschulze@adobe.com>
- Date: Fri, 18 Apr 2014 21:07:06 +0000
- To: SVG public list <www-svg@w3.org>
Hi, The algorithm to compute a bounding box for a container states the following[1]: Let box be a rectangle initialized to (0, 0, 0, 0). and later: set box to be the union of box and the result of invoking the algorithm to compute a bounding box with child That means that box will always include the point (0,0) So the following example: <g> <rect x=200 y=200 width=200 height=200/> </g> would result in the following bounding box for <g>: (0,0,400,400) I dont think that this is expected. Greetings, Dirk [1] https://svgwg.org/svg2-draft/coords.html#TermObjectBoundingBox
Received on Friday, 18 April 2014 21:07:53 UTC