If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

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

NEW
Assigned to

Status

()

Core
Layout: Block and Inline
14 years ago
14 years ago

People

(Reporter: dbaron, Assigned: dbaron)

Tracking

(Depends on: 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

14 years ago
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.
(Assignee)

Comment 1

14 years ago
(And this is actually an important prerequisite for refactoring reflow.)
(Assignee)

Comment 2

14 years ago
(And when designing a new way of getting a frame's containing block, we should
start from the work in bug 135082.)
(Assignee)

Updated

14 years ago
Depends on: 135082, 237169
(Assignee)

Updated

14 years ago
Depends on: 239310
You need to log in before you can comment on or make changes to this bug.