mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
12737: removed the 'moz-fixed' NavQuirk
This commit is contained in:
parent
93104c00ae
commit
cf8d1c8fe2
@ -228,6 +228,7 @@ MapFontAttributesInto(const nsIHTMLMappedAttributes* aAttributes,
|
||||
if (face.EqualsIgnoreCase("-moz-fixed")) {
|
||||
font->mFlags |= NS_STYLE_FONT_USE_FIXED;
|
||||
}
|
||||
/* bug 12737
|
||||
else {
|
||||
nsCompatibility mode;
|
||||
aPresContext->GetCompatibilityMode(&mode);
|
||||
@ -235,6 +236,7 @@ MapFontAttributesInto(const nsIHTMLMappedAttributes* aAttributes,
|
||||
font->mFixedFont.name = familyList;
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
else {
|
||||
font->mFont.name = defaultFont.name;
|
||||
|
@ -1282,6 +1282,7 @@ MapDeclarationFontInto(nsICSSDeclaration* aDeclaration,
|
||||
if (face.EqualsIgnoreCase("-moz-fixed")) {
|
||||
font->mFlags |= NS_STYLE_FONT_USE_FIXED;
|
||||
}
|
||||
/* bug 12737
|
||||
else {
|
||||
nsCompatibility mode;
|
||||
aPresContext->GetCompatibilityMode(&mode);
|
||||
@ -1289,6 +1290,7 @@ MapDeclarationFontInto(nsICSSDeclaration* aDeclaration,
|
||||
font->mFixedFont.name = familyList;
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
else {
|
||||
font->mFont.name = defaultFont.name;
|
||||
|
@ -228,6 +228,7 @@ MapFontAttributesInto(const nsIHTMLMappedAttributes* aAttributes,
|
||||
if (face.EqualsIgnoreCase("-moz-fixed")) {
|
||||
font->mFlags |= NS_STYLE_FONT_USE_FIXED;
|
||||
}
|
||||
/* bug 12737
|
||||
else {
|
||||
nsCompatibility mode;
|
||||
aPresContext->GetCompatibilityMode(&mode);
|
||||
@ -235,6 +236,7 @@ MapFontAttributesInto(const nsIHTMLMappedAttributes* aAttributes,
|
||||
font->mFixedFont.name = familyList;
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
else {
|
||||
font->mFont.name = defaultFont.name;
|
||||
|
@ -1282,6 +1282,7 @@ MapDeclarationFontInto(nsICSSDeclaration* aDeclaration,
|
||||
if (face.EqualsIgnoreCase("-moz-fixed")) {
|
||||
font->mFlags |= NS_STYLE_FONT_USE_FIXED;
|
||||
}
|
||||
/* bug 12737
|
||||
else {
|
||||
nsCompatibility mode;
|
||||
aPresContext->GetCompatibilityMode(&mode);
|
||||
@ -1289,6 +1290,7 @@ MapDeclarationFontInto(nsICSSDeclaration* aDeclaration,
|
||||
font->mFixedFont.name = familyList;
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
else {
|
||||
font->mFont.name = defaultFont.name;
|
||||
|
@ -1282,6 +1282,7 @@ MapDeclarationFontInto(nsICSSDeclaration* aDeclaration,
|
||||
if (face.EqualsIgnoreCase("-moz-fixed")) {
|
||||
font->mFlags |= NS_STYLE_FONT_USE_FIXED;
|
||||
}
|
||||
/* bug 12737
|
||||
else {
|
||||
nsCompatibility mode;
|
||||
aPresContext->GetCompatibilityMode(&mode);
|
||||
@ -1289,6 +1290,7 @@ MapDeclarationFontInto(nsICSSDeclaration* aDeclaration,
|
||||
font->mFixedFont.name = familyList;
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
else {
|
||||
font->mFont.name = defaultFont.name;
|
||||
|
Loading…
Reference in New Issue
Block a user