Re: What should the bbox of a path without a d attribute be?

On Wed, Mar 5, 2014 at 8:38 AM, Erik Dahlström <ed@opera.com> wrote:
>
> We should resolve on how to deal with the "in error" conditions for
> <path>, <polyline> and <polygon>. I propose that when the element in
> question does render something the bbox must represent that, and if the
> data is malformed before an initial moveto then the bbox should be
> [0,0,0,0], and if the point where the data is malformed is right after the
> initial moveto (x,y) the bbox should be [x,y,0,0].
>
>
Yes. This is informative to a developer, and is consistent with the way we
treat a lone moveto when adding line caps or markers.

Stephen.

Received on Wednesday, 5 March 2014 15:34:39 UTC