зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1436362
- Remove outdated code from when the font-feature-settings and font-language-override descriptors were -moz-prefixed. r=jwatt
This commit is contained in:
Родитель
0c305c1eaa
Коммит
c394463ec3
|
@ -616,12 +616,6 @@ nsCSSProps::LookupFontDesc(const nsACString& aFontDesc)
|
|||
|
||||
if (which == eCSSFontDesc_Display && !StylePrefs::sFontDisplayEnabled) {
|
||||
which = eCSSFontDesc_UNKNOWN;
|
||||
} else if (which == eCSSFontDesc_UNKNOWN) {
|
||||
// check for unprefixed font-feature-settings/font-language-override
|
||||
nsAutoCString prefixedProp;
|
||||
prefixedProp.AppendLiteral("-moz-");
|
||||
prefixedProp.Append(aFontDesc);
|
||||
which = nsCSSFontDesc(gFontDescTable->Lookup(prefixedProp));
|
||||
}
|
||||
return which;
|
||||
}
|
||||
|
@ -634,12 +628,6 @@ nsCSSProps::LookupFontDesc(const nsAString& aFontDesc)
|
|||
|
||||
if (which == eCSSFontDesc_Display && !StylePrefs::sFontDisplayEnabled) {
|
||||
which = eCSSFontDesc_UNKNOWN;
|
||||
} else if (which == eCSSFontDesc_UNKNOWN) {
|
||||
// check for unprefixed font-feature-settings/font-language-override
|
||||
nsAutoString prefixedProp;
|
||||
prefixedProp.AppendLiteral("-moz-");
|
||||
prefixedProp.Append(aFontDesc);
|
||||
which = nsCSSFontDesc(gFontDescTable->Lookup(prefixedProp));
|
||||
}
|
||||
return which;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче