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:
Boris Zbarsky
2017-03-03 16:14:39 -05:00
parent 76369661b5
commit 279393753b
12 changed files with 140 additions and 0 deletions

View File

@@ -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