Another attempt at fixing issue 769
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1963 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -8715,8 +8715,8 @@ var changeSelectedAttributeNoUndo = function(attr, newValue, elems) {
|
||||
selectedBBoxes[i] = getBBox(elem);
|
||||
// Use the Firefox ffClone hack for text elements with gradients or
|
||||
// where other text attributes are changed.
|
||||
if(elem.nodeName == 'text') {
|
||||
if((newValue+'').indexOf('url') == 0 || ['font-size','font-family','x','y'].indexOf(attr) >= 0 && elem.textContent) {
|
||||
if(svgedit.browser.isGecko() && elem.nodeName === 'text' && /rotate/.test(elem.getAttribute('transform'))) {
|
||||
if((newValue+'').indexOf('url') === 0 || ['font-size','font-family','x','y'].indexOf(attr) >= 0 && elem.textContent) {
|
||||
elem = ffClone(elem);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user