Closed
Bug 4235
Opened 26 years ago
Closed 25 years ago
need to add inherited font-family to nsFont
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
VERIFIED
WONTFIX
M16
People
(Reporter: erik, Assigned: pierre)
Details
CSS2, font matching algorithm, section 15.5:
8. If there is no font within the family selected in 2, then use the inherited
or UA-dependent 'font-family' value and repeat from step 2, using the best
match that can be obtained within this font.
It would be nice if we could append the inherited font-family list to the end
of the current element's font-family list if there is no generic font in the
current list.
I.e. if the current list is "times, serif", then it makes no sense to append
the inherited list, since "serif" is defined to exist, and everything that
comes after it in the list should be ignored (since serif should match).
What do you think?
Reporter | ||
Comment 1•26 years ago
|
||
Alternatively, we could add the UA-dependent font-family value. If both the
current and the inherited font-family lists do not contain a generic font like
serif, then we might still not find a matching font. If we append the UA-
dependent value instead, we will always have at least one generic font in the
list, right? (Assuming that the UA-dependent value ends with a generic.)
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M5
Updated•26 years ago
|
Target Milestone: M5 → M6
Updated•26 years ago
|
Target Milestone: M6 → M7
Comment 2•26 years ago
|
||
Deferring to M10
Assignee | ||
Comment 3•25 years ago
|
||
Reassigning peterl's bugs to myself.
Assignee | ||
Comment 4•25 years ago
|
||
Accepting peterl's bugs that have a Target Milestone
Assignee | ||
Comment 5•25 years ago
|
||
Pushing my M15 bugs to M16
Assignee | ||
Comment 6•25 years ago
|
||
Closed as WontFix. Authors are strongly encouraged by the spec to add a generic
font name at the end of the list. If they don't do so, we use the default font.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•