mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
Bug 191127 Applying Content Alignment: Vertical to multiple cells produces broken HTML r=glazman sr=kin a=asa
This commit is contained in:
parent
3162ce6df0
commit
d704d38a38
@ -967,9 +967,9 @@ function CloneAttribute(destElement, srcElement, attr)
|
||||
// we need transaction system for undo
|
||||
try {
|
||||
if (!value || value.length == 0)
|
||||
gActiveEditor.removeAttribute(destElement, attr);
|
||||
gActiveEditor.removeAttributeOrEquivalent(destElement, attr, false);
|
||||
else
|
||||
gActiveEditor.setAttribute(destElement, attr, value);
|
||||
gActiveEditor.setAttributeOrEquivalent(destElement, attr, value, false);
|
||||
} catch(e) {}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user