Closed Bug 43568 Opened 25 years ago Closed 25 years ago

Font properties of hyperlinks not remembered for redraw

Categories

(Core :: Layout, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: cheng, Assigned: attinasi)

References

()

Details

Attachments

(2 files)

When you load the page, notice the fonts used to render the links on the left hand side of the page. Now move your mouse over, and the fonts change! I have narrowed it down to something simpler. If you have an HTML page containing something like this: <a href="http://www.cnn.com"> <font size="-1" Face="Arial, Helvetica, sans-serif"> Link to CNN </font> </a> where the face attribute is different from your default font, then the first time you load the page everything is displayed correctly. But if you force it to redraw somehow, then the font used in the hyperlink becomes the default font specified in the user preference menu. Outside of hyperlinks it seems to work correctly.
I don't see this on 062212 linux. Submitter, what build are you using?
don't see in win98 either...marking works
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
I am using 2000062212 on Linux (so the report of working in Windows is irrelevant). I can reproduce this every time, but you must force the window to redraw. Here is how to reproduce, works for me every time. 1. Make sure that your default font is serif, not sans serif. 2. Change the serif font to something that's easily distinguishable from other fonts. 3. Load the attached html. Note thatt the fonts are displayed according to those specified in the HTML file. 4. Now go to Edit->Preferences, click OK without changing anything. 5. Now look at the page again. The font on the link should change, but the font outside of the link doesn't. I more thing I should add: I have followed the Font Deuglification HOWTO at http://www.linuxdoc.org/HOWTO/mini/FDU.html.
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
Attached file Here is a test case
I see this on linux 2000-062321 as well Seems the fonts go from bold verdana to bold helvetica (my default) Verifying.
Status: UNCONFIRMED → NEW
Ever confirmed: true
*** Bug 43608 has been marked as a duplicate of this bug. ***
*** Bug 43775 has been marked as a duplicate of this bug. ***
On NT these links go bold when clicked. On Linux they go bold on mouseover. This is so identical behaviour that it must be the same bug, marking dups correspondingly.
Triaging Clayton's list: ---------------------------- I do see it ( Winnt ). Here is what I did: 1) Loaded the above test case ( changed font size on the first FONT tag to 5 ) 2) Opened mozilla and did Edit->Preferences (as reported by hchcheng ). 3) Changed "Serif" font to "Bookman Old Style" 4) Closed Preferences. 5) Reload the document and then "selected" the link ( you should see the difference in font ). Expected: Font should not change. Actual : Font changes to default! Btw, the content model before and after selection is the same.
Over to Mark.
Assignee: clayton → attinasi
This was fixed when I turned off style context data sharing (bug 43490) I'm marking this dependent on bug 39618 so I can track it when I re-enable style data sharing.
Status: NEW → RESOLVED
Closed: 25 years ago25 years ago
Depends on: 39618
Resolution: --- → FIXED
NOTE: with sharing ON this is only a problem when <FONT> is used, not when style is used... attaching illustrative testcase
Fixed in the July 14 th build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: