[Webkit-unassigned] [Bug 42815] New: getBoundingClientRect Broken for SVG Elements
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 22 04:04:12 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=42815
Summary: getBoundingClientRect Broken for SVG Elements
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh Intel
URL: https://developer.mozilla.org/presentations/xtech2005/
svg-canvas/SVGDemo.xml
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: danjwilson at gmail.com
CC: zimmermann at kde.org
Bug copied from chromium issue tracker, because this is a webkit issue.
I've verified the issue on Webkit nightly (r63854), Chromium nightly (53312) as well as Safari 5.0. (Firefox 3.6.6 and Opera 10.6 work correctly.)
What follows is from http://code.google.com/p/chromium/issues/detail?id=47998
----
Chrome Version : 5.0.375.86
URLs (if applicable) : https://developer.mozilla.org/presentations/xtech2005/svg-canvas/SVGDemo.xml
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari 4:
Firefox 3.x: PASS
IE 7:
IE 8:
What steps will reproduce the problem?
1. visit URL
2. In Console, enter: document.getElementsByTagNameNS("http://www.w3.org/2000/svg", "rect")[0].getBoundingClientRect()
What is the expected result?
The correct bounding rectangle.
What happens instead?
All dimensions are zero.
Please provide any additional information below. Attach a screenshot if
possible.
As far as I can tell, the method, getBoundingClientRect, is broken for all SVG elements in chrome/webkit. It works in Firefox.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list