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