Bug 531371. Correctly propagate the backround from a <body style="display: table"> to the viewport as needed. r=bzbarsky
This commit is contained in:
@@ -1132,9 +1132,7 @@ nsIFrame*
|
||||
nsGenericElement::GetStyledFrame()
|
||||
{
|
||||
nsIFrame *frame = GetPrimaryFrame(Flush_Layout);
|
||||
|
||||
return (frame && frame->GetType() == nsGkAtoms::tableOuterFrame) ?
|
||||
frame->GetFirstChild(nsnull) : frame;
|
||||
return frame ? nsLayoutUtils::GetStyleFrame(frame) : nsnull;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user