Bug 509876 - Clean up SyncFrameViewGeometryDependentProperties. r=roc

This commit is contained in:
Markus Stange
2009-08-13 08:48:30 +12:00
parent 0b7af3ff18
commit ebeee46724
4 changed files with 38 additions and 38 deletions
+2
View File
@@ -2688,6 +2688,8 @@ nsCSSFrameConstructor::ConstructRootFrame(nsIFrame** aNewFrame)
nsContainerFrame::SyncFrameViewProperties(mPresShell->GetPresContext(), viewportFrame,
viewportPseudoStyle, rootView);
nsContainerFrame::SyncWindowProperties(mPresShell->GetPresContext(), viewportFrame,
rootView);
// The viewport is the containing block for 'fixed' elements
mFixedContainingBlock = viewportFrame;