Open Bug 236966 Opened 20 years ago Updated 2 years ago

need a better API for getting computed padding/border/margin/outline

Categories

(Core :: Layout: Block and Inline, defect)

defect

Tracking

()

People

(Reporter: dbaron, Unassigned)

References

(Depends on 1 open bug)

Details

As I said in bug 236175 comment 15, we need a better system for getting computed
padding/border/margin/outline, probably based on helper classes derived from
nsMargin (although just with an nscoord for outline) with different
constructors.  A prerequisite is probably an additional (probably slower) API
for getting a frame's containing block.
(And this is actually an important prerequisite for refactoring reflow.)
(And when designing a new way of getting a frame's containing block, we should
start from the work in bug 135082.)
Assignee: dbaron → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.