Closed
Bug 43568
Opened 25 years ago
Closed 25 years ago
Font properties of hyperlinks not remembered for redraw
Categories
(Core :: Layout, defect, P3)
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.
Comment 1•25 years ago
|
||
I don't see this on 062212 linux. Submitter, what build are you using?
Comment 2•25 years ago
|
||
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 → ---
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
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.
Assignee | ||
Comment 11•25 years ago
|
||
Assignee | ||
Comment 12•25 years ago
|
||
NOTE: with sharing ON this is only a problem when <FONT> is used, not when style
is used... attaching illustrative testcase
Assignee | ||
Comment 13•25 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•