From 87747843b5645da7c780e4276ec2d04df7999930 Mon Sep 17 00:00:00 2001 From: "attinasi%netscape.com" Date: Mon, 30 Oct 2000 22:20:56 +0000 Subject: [PATCH] Changed font specification from 'monospace' to '-moz-fixed' to enforce fixed-width fonts always. b=58098 r=dbaron,rickg a=buster --- htmlparser/src/nsViewSourceHTML.cpp | 2 +- parser/htmlparser/src/nsViewSourceHTML.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htmlparser/src/nsViewSourceHTML.cpp b/htmlparser/src/nsViewSourceHTML.cpp index 4d40266f469..ab13dfade48 100644 --- a/htmlparser/src/nsViewSourceHTML.cpp +++ b/htmlparser/src/nsViewSourceHTML.cpp @@ -101,7 +101,7 @@ static int gErrorThreshold = 10; #endif #ifdef VIEW_SOURCE_HTML -static const char* kPreStyle = "font-family: monospace; font-weight:normal; color:black; padding-top:4px; margin-left:4px;"; +static const char* kPreStyle = "font-family: -moz-fixed; font-weight:normal; color:black; padding-top:4px; margin-left:4px;"; #endif // VIEW_SOURCE_HTML /** diff --git a/parser/htmlparser/src/nsViewSourceHTML.cpp b/parser/htmlparser/src/nsViewSourceHTML.cpp index 4d40266f469..ab13dfade48 100644 --- a/parser/htmlparser/src/nsViewSourceHTML.cpp +++ b/parser/htmlparser/src/nsViewSourceHTML.cpp @@ -101,7 +101,7 @@ static int gErrorThreshold = 10; #endif #ifdef VIEW_SOURCE_HTML -static const char* kPreStyle = "font-family: monospace; font-weight:normal; color:black; padding-top:4px; margin-left:4px;"; +static const char* kPreStyle = "font-family: -moz-fixed; font-weight:normal; color:black; padding-top:4px; margin-left:4px;"; #endif // VIEW_SOURCE_HTML /**