Bug 1343771. Fix stylo to properly update styles on the anonymous block inside a table cell. r=emilio
MozReview-Commit-ID: 8LnPTKVxxVc
This commit is contained in:
@@ -1104,6 +1104,17 @@ nsTableCellFrame::GetType() const
|
||||
return nsGkAtoms::tableCellFrame;
|
||||
}
|
||||
|
||||
void
|
||||
nsTableCellFrame::DoUpdateStyleOfOwnedAnonBoxes(ServoStyleSet& aStyleSet,
|
||||
nsStyleChangeList& aChangeList,
|
||||
nsChangeHint aHintForThisFrame)
|
||||
{
|
||||
nsIFrame* kid = mFrames.FirstChild();
|
||||
MOZ_ASSERT(kid && !kid->GetNextSibling(),
|
||||
"Table cells should have just one child");
|
||||
UpdateStyleOfChildAnonBox(kid, aStyleSet, aChangeList, aHintForThisFrame);
|
||||
}
|
||||
|
||||
#ifdef DEBUG_FRAME_DUMP
|
||||
nsresult
|
||||
nsTableCellFrame::GetFrameName(nsAString& aResult) const
|
||||
|
||||
Reference in New Issue
Block a user