fixes several bugs at once:
could not revert to HTML attributes default value, VALIGN attribute on table elements was not CSSized, page colors of new documents were not CSSized, bad design in |nsEditor::CloneAttributes()|, new image width/height/border attributes were not CSSized, error in EdTableProps.js b=167712, b=167716, r=brade, r=jfrancis, sr=kin git-svn-id: svn://10.0.0.236/trunk@129785 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2152,14 +2152,16 @@ void nsPlaintextEditor::HandleEventListenerError()
|
||||
nsresult
|
||||
nsPlaintextEditor::SetAttributeOrEquivalent(nsIDOMElement * aElement,
|
||||
const nsAString & aAttribute,
|
||||
const nsAString & aValue)
|
||||
const nsAString & aValue,
|
||||
PRBool aSuppressTransaction)
|
||||
{
|
||||
return nsEditor::SetAttribute(aElement, aAttribute, aValue);
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsPlaintextEditor::RemoveAttributeOrEquivalent(nsIDOMElement * aElement,
|
||||
const nsAString & aAttribute)
|
||||
const nsAString & aAttribute,
|
||||
PRBool aSuppressTransaction)
|
||||
{
|
||||
return nsEditor::RemoveAttribute(aElement, aAttribute);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user