This commit is contained in:
Mats Palmgren 2014-02-15 17:40:38 +00:00
Родитель 989e1eec3f
Коммит 98f2cf5d46
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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.