Bug 1521088 - Make an inner table frame with unconstrained block-size copy the IsBResize flag from its table-wrapper parent. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D247456
This commit is contained in:
committed by
jkew@mozilla.com
parent
e83f2402e2
commit
81aeec5e3f
@@ -795,7 +795,10 @@ void ReflowInput::InitResizeFlags(nsPresContext* aPresContext,
|
||||
} else {
|
||||
SetBResize(IsIResize());
|
||||
}
|
||||
SetBResize(IsBResize() || mFrame->IsSubtreeDirty());
|
||||
SetBResize(IsBResize() || mFrame->IsSubtreeDirty() ||
|
||||
// For an inner table frame, copy IsBResize from its wrapper.
|
||||
(aFrameType == LayoutFrameType::Table &&
|
||||
mParentReflowInput->IsBResize()));
|
||||
} else {
|
||||
// We have a non-'auto' block-size, i.e., a length. Set the BResize
|
||||
// flag to whether the size is actually different.
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
[table-grid-item-dynamic-004.html]
|
||||
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1521088
|
||||
expected: FAIL
|
||||
Reference in New Issue
Block a user