Closed Bug 285462 Opened 20 years ago Closed 20 years ago

'font-family style attribute not honored for certain symbol-style fonts.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 193404

People

(Reporter: jgoldin, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1

Specifying a font typeface of 'Webdings', 'Wingdings', or 'Symbol' using the
'font-family' style attribute, either by using inline <style> with class="..."
or style="font-family:...", doesn't work.  If, instead, the deprecated <font>
tag is used with face="...", then it works.

It should be noted that 'font-family' seems to work for all other "normal", i.e.
not symbol-like, fonts.

Example:

<!-- This works! -->
<font face="Symbol">Some Text</font><br />

<!-- This does not work -->
<div style="font-family:'Symbol';">Some Text</div>


Reproducible: Always

Steps to Reproduce:
1. Insert the snippet above into a simple HTML page.
2. View the page in FireFox 1.0.1
Actual Results:  
The first line of text is displayed in with the Symbol typeface whereas the
second line of text is displayed in the default font.

Expected Results:  
Displayed both lines of text with the Symbol font.

My installation of FireFox has not been modified in any way and is a completely
default installation.

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