Closed
Bug 388548
Opened 17 years ago
Closed 17 years ago
CheckFontCallback needs to consider font-size:larger/smaller
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha8
People
(Reporter: dbaron, Assigned: dbaron)
References
Details
(Keywords: css1)
Attachments
(3 files)
543 bytes,
text/html; charset=UTF-8
|
Details | |
548 bytes,
text/html; charset=UTF-8
|
Details | |
1.14 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
CheckFontCallback needs to consider the 'larger' and 'smaller' values of 'font-size', which mean that the value on the element is derived from its parent. (We set aInherited correctly in nsRuleNode::SetFont, but we need to get it right here as well so we know to get the real parentFont rather than the bogus one.) Bug 383979 will make this show up in more cases.
Assignee | ||
Comment 1•17 years ago
|
||
This is probably a more likely testcase to show up in the real world. Thus this blocks bug 383979.
Assignee | ||
Comment 2•17 years ago
|
||
Attachment #272748 -
Flags: superreview?(bzbarsky)
Attachment #272748 -
Flags: review?(bzbarsky)
Comment 3•17 years ago
|
||
Comment on attachment 272748 [details] [diff] [review] patch r+sr=bzbarsky. I really wish we didn't duplicate logic like this between the check callbacks and the actual computation. :(
Attachment #272748 -
Flags: superreview?(bzbarsky)
Attachment #272748 -
Flags: superreview+
Attachment #272748 -
Flags: review?(bzbarsky)
Attachment #272748 -
Flags: review+
Assignee | ||
Comment 4•17 years ago
|
||
Fix checked in to trunk.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•