Closed Bug 359542 Opened 18 years ago Closed 17 years ago

font-weight: 900 not rendered

Categories

(Core :: Graphics, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bugzilla, Assigned: pavlov)

References

()

Details

(Keywords: regression, testcase)

Attachments

(1 file)

Firefox 1.5.x and 2.0 render font-weight: 900 as bold but Minefield 3.0a1 rv:1.9a1 build 20061104 and Seamonkey 1.5a rv:1.9a1 build 2006110408 do not.
According to DOM inspector, when one loads the provided URL, font-weight: 700 is resolved as font-weight: bold

Somehow, somewhat, this is related to bug 77882 and bug 173331
Assignee: dbaron → nobody
Component: Style System (CSS) → GFX: Thebes
QA Contact: ian → thebes
Another testcase:

CSS 1 testcase: sec525c.htm 
description:  Font Properties, 
font-weight, 900
http://www.mozilla.org/newlayout/testcases/css/sec525_900.htm
Keywords: testcase
Font-weight 800 is also incorrectly not rendered as bold.  Testcase https://bugzilla.mozilla.org/attachment.cgi?id=250137 from bug 365613 shows the issue.
Assignee: nobody → pavlov
Flags: blocking1.9+
Attached patch fixSplinter Review
this can happen when you ask for something like 900 but the font only supports 700.  we'll check the weight table and do the right things but end up bailing because of lack of support for 900 so in those cases we should just default to what the person asked for and let the windows font selector do the right thing.
Attachment #260488 - Flags: review?(vladimir)
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: