12737: removed the 'moz-fixed' NavQuirk

This commit is contained in:
pierre%netscape.com 1999-11-23 01:07:26 +00:00
parent 93104c00ae
commit cf8d1c8fe2
5 changed files with 10 additions and 0 deletions

View File

@ -228,6 +228,7 @@ MapFontAttributesInto(const nsIHTMLMappedAttributes* aAttributes,
if (face.EqualsIgnoreCase("-moz-fixed")) { if (face.EqualsIgnoreCase("-moz-fixed")) {
font->mFlags |= NS_STYLE_FONT_USE_FIXED; font->mFlags |= NS_STYLE_FONT_USE_FIXED;
} }
/* bug 12737
else { else {
nsCompatibility mode; nsCompatibility mode;
aPresContext->GetCompatibilityMode(&mode); aPresContext->GetCompatibilityMode(&mode);
@ -235,6 +236,7 @@ MapFontAttributesInto(const nsIHTMLMappedAttributes* aAttributes,
font->mFixedFont.name = familyList; font->mFixedFont.name = familyList;
} }
} }
*/
} }
else { else {
font->mFont.name = defaultFont.name; font->mFont.name = defaultFont.name;

View File

@ -1282,6 +1282,7 @@ MapDeclarationFontInto(nsICSSDeclaration* aDeclaration,
if (face.EqualsIgnoreCase("-moz-fixed")) { if (face.EqualsIgnoreCase("-moz-fixed")) {
font->mFlags |= NS_STYLE_FONT_USE_FIXED; font->mFlags |= NS_STYLE_FONT_USE_FIXED;
} }
/* bug 12737
else { else {
nsCompatibility mode; nsCompatibility mode;
aPresContext->GetCompatibilityMode(&mode); aPresContext->GetCompatibilityMode(&mode);
@ -1289,6 +1290,7 @@ MapDeclarationFontInto(nsICSSDeclaration* aDeclaration,
font->mFixedFont.name = familyList; font->mFixedFont.name = familyList;
} }
} }
*/
} }
else { else {
font->mFont.name = defaultFont.name; font->mFont.name = defaultFont.name;

View File

@ -228,6 +228,7 @@ MapFontAttributesInto(const nsIHTMLMappedAttributes* aAttributes,
if (face.EqualsIgnoreCase("-moz-fixed")) { if (face.EqualsIgnoreCase("-moz-fixed")) {
font->mFlags |= NS_STYLE_FONT_USE_FIXED; font->mFlags |= NS_STYLE_FONT_USE_FIXED;
} }
/* bug 12737
else { else {
nsCompatibility mode; nsCompatibility mode;
aPresContext->GetCompatibilityMode(&mode); aPresContext->GetCompatibilityMode(&mode);
@ -235,6 +236,7 @@ MapFontAttributesInto(const nsIHTMLMappedAttributes* aAttributes,
font->mFixedFont.name = familyList; font->mFixedFont.name = familyList;
} }
} }
*/
} }
else { else {
font->mFont.name = defaultFont.name; font->mFont.name = defaultFont.name;

View File

@ -1282,6 +1282,7 @@ MapDeclarationFontInto(nsICSSDeclaration* aDeclaration,
if (face.EqualsIgnoreCase("-moz-fixed")) { if (face.EqualsIgnoreCase("-moz-fixed")) {
font->mFlags |= NS_STYLE_FONT_USE_FIXED; font->mFlags |= NS_STYLE_FONT_USE_FIXED;
} }
/* bug 12737
else { else {
nsCompatibility mode; nsCompatibility mode;
aPresContext->GetCompatibilityMode(&mode); aPresContext->GetCompatibilityMode(&mode);
@ -1289,6 +1290,7 @@ MapDeclarationFontInto(nsICSSDeclaration* aDeclaration,
font->mFixedFont.name = familyList; font->mFixedFont.name = familyList;
} }
} }
*/
} }
else { else {
font->mFont.name = defaultFont.name; font->mFont.name = defaultFont.name;

View File

@ -1282,6 +1282,7 @@ MapDeclarationFontInto(nsICSSDeclaration* aDeclaration,
if (face.EqualsIgnoreCase("-moz-fixed")) { if (face.EqualsIgnoreCase("-moz-fixed")) {
font->mFlags |= NS_STYLE_FONT_USE_FIXED; font->mFlags |= NS_STYLE_FONT_USE_FIXED;
} }
/* bug 12737
else { else {
nsCompatibility mode; nsCompatibility mode;
aPresContext->GetCompatibilityMode(&mode); aPresContext->GetCompatibilityMode(&mode);
@ -1289,6 +1290,7 @@ MapDeclarationFontInto(nsICSSDeclaration* aDeclaration,
font->mFixedFont.name = familyList; font->mFixedFont.name = familyList;
} }
} }
*/
} }
else { else {
font->mFont.name = defaultFont.name; font->mFont.name = defaultFont.name;