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