Closed Bug 10636 Opened 26 years ago Closed 25 years ago

Stop using CalcMargin/Border/Padding/BorderPaddingFor methods

Categories

(Core :: Layout: Tables, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

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...
Blocks: 10606
Depends on: 10606
No longer blocks: 10606
Status: NEW → ASSIGNED
No longer depends on: 10606
Target Milestone: M10
Target Milestone: M10 → M12
Moving to M12.
mass move to m14.
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Keywords: verifyme
Verified per karnaze's comments.
Status: RESOLVED → VERIFIED
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.