Create floating frame properly (bug #2751)

This commit is contained in:
kipp%netscape.com 1999-09-01 20:57:58 +00:00
parent 6fc0a244c3
commit 510e253e0f
2 changed files with 2 additions and 2 deletions

View File

@ -279,7 +279,7 @@ inline nsresult NS_NewAbsoluteItemWrapperFrame(nsIFrame** aNewFrame) {
// This type of AreaFrame shrink wraps
inline nsresult NS_NewFloatingItemWrapperFrame(nsIFrame** aNewFrame) {
return NS_NewAreaFrame(aNewFrame, NS_AREA_WRAP_SIZE|NS_BLOCK_SHRINK_WRAP);
return NS_NewAreaFrame(aNewFrame, NS_BLOCK_SHRINK_WRAP);
}
// This type of AreaFrame doesn't use its own space manager and

View File

@ -279,7 +279,7 @@ inline nsresult NS_NewAbsoluteItemWrapperFrame(nsIFrame** aNewFrame) {
// This type of AreaFrame shrink wraps
inline nsresult NS_NewFloatingItemWrapperFrame(nsIFrame** aNewFrame) {
return NS_NewAreaFrame(aNewFrame, NS_AREA_WRAP_SIZE|NS_BLOCK_SHRINK_WRAP);
return NS_NewAreaFrame(aNewFrame, NS_BLOCK_SHRINK_WRAP);
}
// This type of AreaFrame doesn't use its own space manager and