Fix Bug 1048 (foreignObject selection in Webkit)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2348 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
9041ef9609
commit
7fe3d3ef2d
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue