bug = 57704 r = kmcclusk sr = buster. Needed to check for isPaginated before constucting scroll bars.

This commit is contained in:
dcone%netscape.com 2000-10-26 13:48:49 +00:00
Родитель c894aafae5
Коммит a14b823f80
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -3710,7 +3710,8 @@ nsCSSFrameConstructor::ConstructRootFrame(nsIPresShell* aPresShell,
nsIFrame* parentFrame = viewportFrame;
if (isScrollable) {
// It should be scrollable.. and it also can not be paginated
if (isScrollable && !isPaginated) {
// built the frame. We give it the content we are wrapping which is the document,
// the root frame, the parent view port frame, and we should get back the new

Просмотреть файл

@ -3710,7 +3710,8 @@ nsCSSFrameConstructor::ConstructRootFrame(nsIPresShell* aPresShell,
nsIFrame* parentFrame = viewportFrame;
if (isScrollable) {
// It should be scrollable.. and it also can not be paginated
if (isScrollable && !isPaginated) {
// built the frame. We give it the content we are wrapping which is the document,
// the root frame, the parent view port frame, and we should get back the new