mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-01-01 06:33:22 +00:00
#399: abspos edge case M1379306
This commit is contained in:
parent
034fda860a
commit
33bc0dac7f
@ -415,8 +415,10 @@ nsAbsoluteContainingBlock::ReflowAbsoluteFrame(nsIFrame* aDelegat
|
||||
|
||||
// Get the border values
|
||||
WritingMode outerWM = aReflowState.GetWritingMode();
|
||||
const LogicalMargin border(outerWM,
|
||||
aReflowState.mStyleBorder->GetComputedBorder());
|
||||
const LogicalMargin border(outerWM, aDelegatingFrame->GetUsedBorder());
|
||||
// see https://hg.mozilla.org/mozilla-central/file/fe69c6a1b4a3/layout/generic/nsAbsoluteContainingBlock.cpp
|
||||
// for various backbugs XXX
|
||||
|
||||
const LogicalMargin margin =
|
||||
kidReflowState.ComputedLogicalMargin().ConvertTo(outerWM, wm);
|
||||
bool constrainBSize = (aReflowState.AvailableBSize() != NS_UNCONSTRAINEDSIZE)
|
||||
|
Loading…
Reference in New Issue
Block a user