зеркало из https://github.com/mozilla/gecko-dev.git
Bug 969756. r=cam
This commit is contained in:
Родитель
989e1eec3f
Коммит
98f2cf5d46
|
@ -1261,7 +1261,8 @@ nsCSSValue::AppendToString(nsCSSProperty aProperty, nsAString& aResult,
|
|||
} else if (eCSSUnit_TokenStream == unit) {
|
||||
nsCSSProperty shorthand = mValue.mTokenStream->mShorthandPropertyID;
|
||||
if (shorthand == eCSSProperty_UNKNOWN ||
|
||||
nsCSSProps::PropHasFlags(shorthand, CSS_PROPERTY_IS_ALIAS)) {
|
||||
nsCSSProps::PropHasFlags(shorthand, CSS_PROPERTY_IS_ALIAS) ||
|
||||
aProperty == eCSSProperty__x_system_font) {
|
||||
// We treat serialization of aliases like '-moz-transform' as a special
|
||||
// case, since it really wants to be serialized as if it were a longhand
|
||||
// even though it is implemented as a shorthand.
|
||||
|
|
Загрузка…
Ссылка в новой задаче