зеркало из https://github.com/mozilla/pjs.git
Bug #228720 --> Don't down-convert message to plain text if dir attribute is set for RTL users.
r/sr=bienvenu
This commit is contained in:
Родитель
bc79387c63
Коммит
1f59330e3b
|
@ -4263,6 +4263,9 @@ nsresult nsMsgCompose::TagConvertible(nsIDOMNode *node, PRInt32 *_retval)
|
|||
!color.Equals(NS_LITERAL_STRING("#FFFFFF"), nsCaseInsensitiveStringComparator())) {
|
||||
*_retval = nsIMsgCompConvertible::Altering;
|
||||
}
|
||||
else if (NS_SUCCEEDED(domElement->HasAttribute(NS_LITERAL_STRING("dir"), &hasAttribute))
|
||||
&& hasAttribute) // dir=rtl attributes should not downconvert
|
||||
*_retval = nsIMsgCompConvertible::No;
|
||||
|
||||
//ignore special color setting for link, vlink and alink at this point.
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче