<div dir="ltr"><div>Package: iceweasel</div><div>Version: 31.6.0esr-1~deb7u1</div><div>Severity: normal</div><div><br></div><div>Suppose, that you have an <SVG> element with large content, larger than the</div><div><svg> element's viewport.</div><div><br></div><div>When you call getClientBoundingRect() method on that SVG element, in some cases</div><div>(not always) it returns the coordinates of <SVG> element's content, not</div><div>viewport, as if viewport didn't exist.</div><div><br></div><div>Also, when you select <svg> element with tools -> web developer -> inspector or</div><div>firebug, it highlights the size of content not the size of element's viewbox</div><div>(i.e. if content is larger than viewbox, it highlights larger space).</div><div><br></div><div>In order to reproduce the bug, see this example on stackoverflow:</div><div><a href="http://stackoverflow.com/questions/29423097/javascript-svg-">http://stackoverflow.com/questions/29423097/javascript-svg-</a></div><div>getclientboundingrect-returns-coordinates-of-svg-content-inste</div><div><br><div>-- Package-specific info:</div><div><br></div><div><br></div><div>-- Addons package information</div><div><br></div><div>-- System Information:</div><div>Debian Release: 7.8</div><div>  APT prefers stable-updates</div><div>  APT policy: (500, 'stable-updates'), (500, 'stable')</div><div>Architecture: i386 (i686)</div><div><br></div><div>Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores)</div><div>Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)</div><div>Shell: /bin/sh linked to /bin/dash</div><div><br></div><div>Versions of packages iceweasel depends on:</div><div>ii  debianutils               4.3.2</div><div>ii  fontconfig                2.9.0-7.1</div><div>ii  libasound2                1.0.25-4</div><div>ii  libatk1.0-0               2.4.0-2</div><div>ii  libc6                     2.13-38+deb7u8</div><div>ii  libcairo2                 1.12.2-3</div><div>ii  libdbus-1-3               1.6.8-1+deb7u6</div><div>ii  libdbus-glib-1-2          0.100.2-1</div><div>ii  libevent-2.0-5            2.0.19-stable-3+deb7u1</div><div>ii  libffi5                   3.0.10-3</div><div>ii  libfontconfig1            2.9.0-7.1</div><div>ii  libfreetype6              2.4.9-1.1+deb7u1</div><div>ii  libgcc1                   1:4.7.2-5</div><div>ii  libgdk-pixbuf2.0-0        2.26.1-1</div><div>ii  libglib2.0-0              2.33.12+really2.32.4-5</div><div>ii  libgtk2.0-0               2.24.10-2</div><div>ii  libhunspell-1.3-0         1.3.2-4</div><div>ii  libpango1.0-0             1.30.0-1</div><div>ii  libsqlite3-0              3.7.13-1+deb7u1</div><div>ii  libstartup-notification0  0.12-1</div><div>ii  libstdc++6                4.7.2-5</div><div>ii  libx11-6                  2:1.5.0-1+deb7u1</div><div>ii  libxext6                  2:1.3.1-2+deb7u1</div><div>ii  libxrender1               1:0.9.7-1+deb7u1</div><div>ii  libxt6                    1:1.1.3-1+deb7u1</div><div>ii  procps                    1:3.3.3-3</div><div>ii  zlib1g                    1:1.2.7.dfsg-13</div><div><br></div><div>iceweasel recommends no packages.</div><div><br></div><div>Versions of packages iceweasel suggests:</div><div>pn  fonts-mathjax          <none></div><div>pn  fonts-oflb-asana-math  <none></div><div>ii  fonts-stix [otf-stix]  1.1.0-1</div><div>ii  libcanberra0           0.28-6</div><div>ii  libgnomeui-0           2.24.5-2</div><div>ii  libgssapi-krb5-2       1.10.1+dfsg-5+deb7u3</div><div>pn  mozplugger             <none></div><div><br></div><div>-- no debconf information</div></div><div><br></div></div>