[Webkit-unassigned] [Bug 103725] getBBox() return wrong bounding box in <use> tag

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 30 11:50:10 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=103725


Philip Rogers <pdr at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME
                 CC|                            |pdr at google.com




--- Comment #1 from Philip Rogers <pdr at google.com>  2012-11-30 11:52:29 PST ---
Hi skybach, thank you for taking the time to file this bug. I'm not able to reproduce this. Can you provide an example and list what browser version you are using?

The following works for me:
<html>
<body>
<svg width="500" height="500">
  <rect id="rect" x="100" y="100" width="100" height="100" opacity="0.5" fill="green"/>
  <use id="use" xlink:href="#rect" x="50" y="50" />
</svg>
<script>
  var use = document.getElementById('use');
  var bbox = use.getBBox();
  console.log(bbox); // prints SVGRect {height: 100, width: 100, y: 100, x: 100}
</script>
</body>
</html>

For now I'm marking this as WORKSFORME but we can reopen if necessary.

-- 
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