Closed
Bug 10636
Opened 26 years ago
Closed 25 years ago
Stop using CalcMargin/Border/Padding/BorderPaddingFor methods
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
VERIFIED
FIXED
M14
People
(Reporter: troy, Assigned: karnaze)
Details
Chris, the CalcMargin/Border/Padding/BorderPaddingFor methods in nsStyleSpacing
are deprecated and should no longer used. The
GetMargin/Border/Padding/BorderPadding methods can be used, but note that they
may return PR_FALSE if percentage values are involved
The preferred approach is to retrieve the "computed" values from the
nsHTMLReflowState struct. This ensures correctly computed values when percentage
values are involved, and the HTML reflow state functions handle 'inherit' as
well
Tables use the CalcMargin/Border/Padding/BorderPaddingFor methods quite a bit,
even in the strategy which seems problematic
This needs to be fixed, because the deprecated functions can't be removed until
all existing uses are eliminated
I'm handling everything but tables...
| Assignee | ||
Updated•26 years ago
|
| Assignee | ||
Updated•26 years ago
|
Target Milestone: M10 → M12
| Assignee | ||
Comment 1•26 years ago
|
||
Moving to M12.
| Assignee | ||
Comment 2•26 years ago
|
||
mass move to m14.
| Assignee | ||
Comment 3•25 years ago
|
||
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•