Closed Bug 262077 Opened 20 years ago Closed 20 years ago

uses wrong fonts when defined in CSS body and wrting texts in both <p> and without <p>

Categories

(Firefox :: General, defect)

PowerPC
macOS
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 132341

People

(Reporter: sven.walther, Assigned: bugzilla)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; rv:1.7.3) Gecko/20040913 Firefox/0.10
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; rv:1.7.3) Gecko/20040913 Firefox/0.10

Firefox 1.0PR mixes different fonts ist the text is either in <p> tags or not.

Font is defined using CSS for Body, now Texts are displayed different in <p>
Tags than Texts without p-Tags around them

Seen on different sites, most of them internal (CMS, Intranet...)

Reproducible: Always
Steps to Reproduce:
1. Open the given URL
2. Look at it (and compare to other Browsers incl. older Firefox


Actual Results:  
Looks not nice

Expected Results:  
Every text, which has not an own special class, should be displayed in the font
defined in body using CSS
Attached image One Example
Screenshot of a page with a font-problem. Font changes in one p-Tag. (made a
yellow rect on this point)

HTML-Code for this part:
<p class="error-message-page"><span class="error-message">Sie haben eine Seite
außerhalb der vorgesehenen Reihenfolge aufgerufen. <br>Typische Ursachen dafür
sind, dass Sie den "Zurück"-Knopf benutzt haben, oder dass Sie nach Ablauf
Ihrer Session eine Dialogseite weiter benutzen wollten.</span></p>

Fitting CSS:
body
{
    background-color: #ffffff;
    color: #000000;

    height: 98%;
    width: 98%;
    margin : 1%;
}

body.nps.full
{
    height: 100%;
    width: 100%;
    margin : 0px;
}

.nps
{
    font-family: Arial, sans-serif;
    font-size: 10pt;
}

(...)

.nps .error-message-page,
.nps .error-message-field
{
    margin: 0.2em;
    border-width: 1px;
    border-style: solid;
    border-color: #ff0000;
    color: #ff0000;
    background-color: #ffffff;
}

.nps .invalid-value,
.nps .invalid-value a
{
    color: #ff0000;
}


.nps .error-message-page,
.nps .error-message-field,
.nps .error-message
{
    font-weight: bold;
}
Well, the URL given shows no font changes for me.

And in the code sample, the only part of the CSS that defines a font is not used
in the HTML snippet.  So what does it show?

Invalid unless a valid testcase that shows the problem can be produced.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Bill: The bug is Mac-Only (and intl only), it is a known issue for a long time.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
now for the dupe...

*** This bug has been marked as a duplicate of 132341 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: