Skip to content
This repository
Browse code

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

  • Loading branch information...
commit d77b6fae4746891a1e1bf1505db6de9c95e2a026 2 parents e5f662b + 8d44ed6
Jacques Distler authored February 10, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  public/svg-edit/editor/svgutils.js
2  public/svg-edit/editor/svgutils.js
@@ -495,7 +495,7 @@ svgedit.utilities.getBBox = function(elem) {
495 495
 			ret = groupBBFix(selected, true);
496 496
 		}
497 497
 		
498  
-		if(elname === 'use') {
  498
+		if(elname === 'use' || ( elname="foreignObject" && svgedit.browser.isWebkit() ) ) {
499 499
 			if(!ret) ret = selected.getBBox();
500 500
 			// This is resolved in later versions of webkit, perhaps we should
501 501
 			// have a featured detection for correct 'use' behavior?

0 notes on commit d77b6fa

Please sign in to comment.
Something went wrong with that request. Please try again.