Permalink
Browse files

Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki

  • Loading branch information...
2 parents e5f662b + 8d44ed6 commit d77b6fae4746891a1e1bf1505db6de9c95e2a026 @distler distler committed Feb 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/svg-edit/editor/svgutils.js
@@ -495,7 +495,7 @@ svgedit.utilities.getBBox = function(elem) {
ret = groupBBFix(selected, true);
}
- if(elname === 'use') {
+ if(elname === 'use' || ( elname="foreignObject" && svgedit.browser.isWebkit() ) ) {
if(!ret) ret = selected.getBBox();
// This is resolved in later versions of webkit, perhaps we should
// have a featured detection for correct 'use' behavior?

0 comments on commit d77b6fa

Please sign in to comment.