SVG path and g element return incorrect values in getBBox result for some arcs
Reported by
jimobenc...@gmail.com,
Sep 13 2016
|
|
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.101 Safari/537.36 Steps to reproduce the problem: Open the attached path-bbox.svg file. The arc is drawn using a path element. The path is a child of a g element. The blue dashed rectangle is computed in script and shows the bounding box of the path element. The red rectangle is also computed in script and shows the bounding box of the path's parent g element. What is the expected behavior? The bounding box of the path should tightly enclose the arc. The bounding box of the g element should tightly enclose the arc. What went wrong? The rectangle returned by getBBox is much larger than the arc. This is true for both the path and the path's parent g element. Did this work before? No Chrome version: 53.0.2785.101 Channel: stable OS Version: 8.1 Flash Version: Shockwave Flash 22.0 r0 Chrome 55.0.2859.0 canary gets the path's bounding box right but the g element's bounding box is still wrong. The bug is not exhibited by Firefox or IE11.
,
Sep 14 2016
|
|
►
Sign in to add a comment |
|
Comment 1 by durga.behera@chromium.org
, Sep 14 2016Labels: M-55 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)