Closed
Bug 189604
Opened 23 years ago
Closed 19 years ago
No need for .descent member in nsHTMLReflowMetrics
Categories
(Core :: Layout, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha2
People
(Reporter: bzbarsky, Assigned: dbaron)
References
Details
Since we must always have |descent + ascent == height| (rbs, that's correct,
no?), there is no reason to have a .descent member in the reflow metrics. We
should just have the ascent and the height....
| Reporter | ||
Updated•23 years ago
|
Priority: -- → P1
Target Milestone: --- → mozilla1.4alpha
| Reporter | ||
Comment 1•23 years ago
|
||
Well, the only people who even _use_ these for something are table row frames
and MathML. It looks to me like table row frames could easily use ascent
instead of descent as long as the invariant |heigth = ascent + descent| is being
maintained.
That leaves MathML. rbs? Comments?
Okay with me too. But regarding such changes, my favorite is bug 64763.
| Reporter | ||
Comment 3•23 years ago
|
||
Ah. Hmm. That may indeed be better..... I'll move some comments to there.
Depends on: 64763
| Reporter | ||
Updated•23 years ago
|
Target Milestone: mozilla1.4alpha → mozilla1.5beta
| Assignee | ||
Updated•19 years ago
|
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: mozilla1.5beta → mozilla1.9alpha2
Updated•8 years ago
|
Product: Core → Core Graveyard
Updated•8 years ago
|
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•